Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.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.001803/0.001803, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002342/0.002342, allocations: 223.1 kB / 22.25 MB, free: 5.102 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.516/1.516, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.289/3.289, allocations: 0.49 GB / 0.7951 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_BooleanReplicator",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.002038/0.002038, allocations: 71.3 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4202, allocations: 176.1 MB / 1.326 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003503/0.4237, allocations: 1.787 MB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002124/0.4258, allocations: 1.13 MB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.033e-05/0.4259, allocations: 7.938 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007277/0.4266, allocations: 163.5 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003966/0.427, allocations: 155.4 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003936/0.4274, allocations: 146.7 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002579/0.4277, allocations: 175.5 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.4278, allocations: 17.58 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.4279, allocations: 75.69 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.428, allocations: 79.67 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.428, allocations: 8 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.4282, allocations: 71.94 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.996e-05/0.4283, allocations: 43.84 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.29e-05/0.4284, allocations: 47.67 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003157/0.4287, allocations: 211.1 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4287, allocations: 4 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4287, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.4287, allocations: 4 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008978/0.4296, allocations: 430.8 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.4296, allocations: 8.031 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.438e-05/0.4297, allocations: 38.75 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.848e-05/0.4298, allocations: 20.8 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003775/0.4301, allocations: 186.9 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.4301, allocations: 384 / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.4302, allocations: 7.938 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.4304, allocations: 77.66 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.4304, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.4304, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.4304, allocations: 8 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.4305, allocations: 35.92 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007026/0.4312, allocations: 323.7 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000247/0.4315, allocations: 74.61 kB / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.638e-05/0.4316, allocations: 32.84 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.4316, allocations: 7.938 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000201/0.4318, allocations: 79.38 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.673e-06/0.4318, allocations: 4 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0004299/0.4322, allocations: 149.5 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.4323, allocations: 51.41 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003593/0.4326, allocations: 279 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.4327, allocations: 29.7 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.4328, allocations: 116.2 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.371e-05/0.4328, allocations: 31.72 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.943e-05/0.4329, allocations: 33.7 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002101/0.4331, allocations: 334.8 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.4332, allocations: 28 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.4333, allocations: 88.12 kB / 1.332 GB, free: 10.74 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.4335, allocations: 77.7 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4335, allocations: 0 / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002329/0.4337, allocations: 121.8 kB / 1.332 GB, free: 10.53 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.4337, allocations: 9.875 kB / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.4337, allocations: 0 / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.4338, allocations: 8 kB / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.957e-05/0.4339, allocations: 11.94 kB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.4339, allocations: 4 kB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.726e-05/0.4339, allocations: 11.92 kB / 1.332 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.4339, allocations: 0 / 1.332 GB, free: 10.49 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * 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.0001716/0.4341, allocations: 146.3 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.611e-05/0.4341, allocations: 19.86 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003027/0.4344, allocations: 127 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/0.4345, allocations: 7.984 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4345, allocations: 7.938 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.4345, allocations: 3.938 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.4347, allocations: 188.6 kB / 1.333 GB, free: 9.938 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.4347, allocations: 4 kB / 1.333 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.75e-05/0.4348, allocations: 4 kB / 1.333 GB, free: 9.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4348, allocations: 0 / 1.333 GB, free: 9.93 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.4348, allocations: 0 / 1.333 GB, free: 9.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4348, allocations: 0 / 1.333 GB, free: 9.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4348, allocations: 0 / 1.333 GB, free: 9.93 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.4351, allocations: 160.9 kB / 1.333 GB, free: 9.754 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.342e-05/0.4351, allocations: 19.89 kB / 1.333 GB, free: 9.734 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/0.4351, allocations: 8 kB / 1.333 GB, free: 9.727 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.736e-05/0.4352, allocations: 0 / 1.333 GB, free: 9.727 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.787e-05/0.4353, allocations: 15.92 kB / 1.333 GB, free: 9.711 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.4353, allocations: 4 kB / 1.333 GB, free: 9.707 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000237/0.4355, allocations: 208.5 kB / 1.333 GB, free: 9.504 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4355, allocations: 0 / 1.333 GB, free: 9.504 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002612/0.4358, allocations: 31.94 kB / 1.333 GB, free: 9.473 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002242/0.438, allocations: 1.032 MB / 1.334 GB, free: 8.598 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002725/0.4383, allocations: 83.81 kB / 1.334 GB, free: 8.516 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.4383, allocations: 0 / 1.334 GB, free: 8.516 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.686e-05/0.4384, allocations: 35.98 kB / 1.334 GB, free: 8.48 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.4387, allocations: 42.62 kB / 1.335 GB, free: 8.441 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002742/0.4415, allocations: 2.004 MB / 1.336 GB, free: 6.352 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.4416, allocations: 118.6 kB / 1.337 GB, free: 6.219 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.331e-05/0.4417, allocations: 17.73 kB / 1.337 GB, free: 6.199 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.786e-05/0.4418, allocations: 47.42 kB / 1.337 GB, free: 6.152 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.4418, allocations: 0 / 1.337 GB, free: 6.152 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03213/0.4739, allocations: 5.328 MB / 1.342 GB, free: 0.8906 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.58, allocations: 7.609 kB / 1.342 GB, free: 0.8867 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.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.797767486976227]