Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 217 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.534/1.534, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.325/3.325, allocations: 0.505 GB / 0.8101 GB, free: 22 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 66.28 kB / 1.177 GB, free: 17.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.417/0.4192, allocations: 180.2 MB / 1.353 GB, free: 8.477 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002302/0.4215, allocations: 0.6354 MB / 1.353 GB, free: 7.844 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001871/0.4233, allocations: 1.151 MB / 1.355 GB, free: 6.68 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.141e-05/0.4234, allocations: 0 / 1.355 GB, free: 6.68 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.4235, allocations: 3.938 kB / 1.355 GB, free: 6.676 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.165e-05/0.4236, allocations: 3.938 kB / 1.355 GB, free: 6.672 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006065/0.4242, allocations: 129.8 kB / 1.355 GB, free: 6.547 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002279/0.4244, allocations: 99.8 kB / 1.355 GB, free: 6.449 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.912e-05/0.4245, allocations: 7.984 kB / 1.355 GB, free: 6.441 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.4246, allocations: 31.98 kB / 1.355 GB, free: 6.41 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.4247, allocations: 35.88 kB / 1.355 GB, free: 6.375 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.927e-05/0.4248, allocations: 8 kB / 1.355 GB, free: 6.367 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.338e-05/0.4249, allocations: 27.92 kB / 1.355 GB, free: 6.34 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.728e-05/0.4249, allocations: 8 kB / 1.355 GB, free: 6.332 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.734e-05/0.425, allocations: 31.84 kB / 1.355 GB, free: 6.301 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.4253, allocations: 87.78 kB / 1.355 GB, free: 6.215 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4253, allocations: 4 kB / 1.355 GB, free: 6.211 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.884e-06/0.4253, allocations: 0 / 1.355 GB, free: 6.211 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.4253, allocations: 0 / 1.355 GB, free: 6.211 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005891/0.4259, allocations: 307.9 kB / 1.355 GB, free: 5.871 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.4259, allocations: 12.03 kB / 1.355 GB, free: 5.859 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.437e-05/0.426, allocations: 30.75 kB / 1.355 GB, free: 5.82 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.388e-05/0.426, allocations: 8.891 kB / 1.355 GB, free: 5.812 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.4262, allocations: 122.5 kB / 1.356 GB, free: 5.668 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.4263, allocations: 384 / 1.356 GB, free: 5.668 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.4263, allocations: 16.38 kB / 1.356 GB, free: 5.652 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.4264, allocations: 46.19 kB / 1.356 GB, free: 5.602 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.4264, allocations: 3.938 kB / 1.356 GB, free: 5.598 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.4264, allocations: 0 / 1.356 GB, free: 5.598 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.4264, allocations: 0 / 1.356 GB, free: 5.598 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.048e-05/0.4265, allocations: 15.98 kB / 1.356 GB, free: 5.582 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004609/0.4269, allocations: 279.9 kB / 1.356 GB, free: 5.266 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.147e-05/0.427, allocations: 22.52 kB / 1.356 GB, free: 5.234 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.106e-05/0.427, allocations: 8.922 kB / 1.356 GB, free: 5.223 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.069e-06/0.427, allocations: 3.938 kB / 1.356 GB, free: 5.219 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001932/0.4272, allocations: 55.39 kB / 1.356 GB, free: 5.152 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.4272, allocations: 0 / 1.356 GB, free: 5.152 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0002223/0.4274, allocations: 65.62 kB / 1.356 GB, free: 5.082 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/0.4275, allocations: 51.41 kB / 1.356 GB, free: 5.02 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.4276, allocations: 117.8 kB / 1.356 GB, free: 4.895 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.4276, allocations: 37.64 kB / 1.356 GB, free: 4.852 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.142e-05/0.4277, allocations: 88.12 kB / 1.356 GB, free: 4.762 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.115e-05/0.4277, allocations: 3.953 kB / 1.356 GB, free: 4.758 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.298e-05/0.4278, allocations: 33.7 kB / 1.356 GB, free: 4.719 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.4279, allocations: 314.8 kB / 1.357 GB, free: 4.402 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.874e-05/0.428, allocations: 27.98 kB / 1.357 GB, free: 4.375 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.4281, allocations: 54.55 kB / 1.357 GB, free: 4.312 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.4282, allocations: 76.22 kB / 1.357 GB, free: 4.223 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4282, allocations: 0 / 1.357 GB, free: 4.223 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002934/0.4285, allocations: 151.2 kB / 1.357 GB, free: 4.062 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.063e-05/0.4286, allocations: 37.7 kB / 1.357 GB, free: 4.02 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4286, allocations: 0 / 1.357 GB, free: 4.02 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.4286, allocations: 4 kB / 1.357 GB, free: 4.016 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.859e-05/0.4286, allocations: 4.094 kB / 1.357 GB, free: 4.012 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.4286, allocations: 0 / 1.357 GB, free: 4.012 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.4289, allocations: 27.91 kB / 1.357 GB, free: 3.984 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.4289, allocations: 7.984 kB / 1.357 GB, free: 3.977 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001314/0.429, allocations: 121.8 kB / 1.357 GB, free: 3.848 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.063e-05/0.429, allocations: 0 / 1.357 GB, free: 3.848 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.804e-05/0.4291, allocations: 8.234 kB / 1.357 GB, free: 3.836 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.4291, allocations: 7.984 kB / 1.357 GB, free: 3.828 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.4291, allocations: 0 / 1.357 GB, free: 3.828 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.4291, allocations: 7.922 kB / 1.357 GB, free: 3.82 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.4292, allocations: 136.7 kB / 1.357 GB, free: 3.645 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.4292, allocations: 0 / 1.357 GB, free: 3.645 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.512e-06/0.4292, allocations: 0 / 1.357 GB, free: 3.645 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.4292, allocations: 0 / 1.357 GB, free: 3.645 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.209e-05/0.4293, allocations: 7.984 kB / 1.357 GB, free: 3.637 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.4293, allocations: 0 / 1.357 GB, free: 3.637 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.4293, allocations: 0 / 1.357 GB, free: 3.637 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.4295, allocations: 85.02 kB / 1.357 GB, free: 3.535 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.076e-05/0.4295, allocations: 4 kB / 1.357 GB, free: 3.531 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.4295, allocations: 0 / 1.357 GB, free: 3.531 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.443e-05/0.4295, allocations: 0 / 1.357 GB, free: 3.531 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.01e-05/0.4295, allocations: 4.297 kB / 1.357 GB, free: 3.527 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.4295, allocations: 4 kB / 1.357 GB, free: 3.523 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.414e-05/0.4296, allocations: 95.16 kB / 1.357 GB, free: 3.43 MB / 1.045 GB Notification: Performance of sort global known variables: time 5e-08/0.4296, allocations: 0 / 1.357 GB, free: 3.43 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002158/0.4298, allocations: 16 kB / 1.357 GB, free: 3.414 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004992/0.4303, allocations: 0.624 MB / 1.358 GB, free: 2.762 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000251/0.4306, allocations: 111.3 kB / 1.358 GB, free: 2.641 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4306, allocations: 0 / 1.358 GB, free: 2.641 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.164e-05/0.4306, allocations: 11.98 kB / 1.358 GB, free: 2.629 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.4308, allocations: 8.188 kB / 1.358 GB, free: 2.621 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.4325, allocations: 1.378 MB / 1.36 GB, free: 1.141 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.4329, allocations: 0.6845 MB / 1.36 GB, free: 440 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.093e-05/0.4329, allocations: 0 / 1.36 GB, free: 440 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.166e-05/0.4329, allocations: 23.42 kB / 1.36 GB, free: 420 kB / 1.045 GB Notification: Performance of SimCode: time 5.11e-07/0.4329, allocations: 0 / 1.36 GB, free: 420 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0312/0.4641, allocations: 2.091 MB / 1.362 GB, free: 14.46 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.74, allocations: 9.562 kB / 1.362 GB, free: 14.46 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.75388874183409]