Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001787/0.001788, allocations: 110.1 kB / 16.4 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 191.7 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 222.9 MB / 245 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.931/2.931, allocations: 489 MB / 0.7678 GB, free: 12 kB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 79.88 kB / 1.101 GB, free: 6.121 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.814/0.8162, allocations: 163.8 MB / 1.261 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003561/0.8198, allocations: 1.788 MB / 1.263 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001766/0.8216, allocations: 1.021 MB / 1.264 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.993e-05/0.8217, allocations: 3.938 kB / 1.264 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006243/0.8223, allocations: 159.6 kB / 1.264 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002925/0.8227, allocations: 119.5 kB / 1.264 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004659/0.8231, allocations: 170.5 kB / 1.264 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.8234, allocations: 167.6 kB / 1.264 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.8235, allocations: 29.09 kB / 1.264 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.8236, allocations: 63.77 kB / 1.264 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.8238, allocations: 63.75 kB / 1.265 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.8238, allocations: 8 kB / 1.265 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/0.8239, allocations: 63.89 kB / 1.265 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.305e-05/0.824, allocations: 43.84 kB / 1.265 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.873e-05/0.8241, allocations: 59.61 kB / 1.265 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003101/0.8244, allocations: 203.2 kB / 1.265 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.8245, allocations: 4 kB / 1.265 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of FrontEnd: time 4.649e-06/0.8245, allocations: 0 / 1.265 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.8245, allocations: 3.938 kB / 1.265 GB, free: 3.219 MB / 0.9669 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.0007749/0.8253, allocations: 0.4922 MB / 1.265 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.8253, allocations: 8.031 kB / 1.265 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.368e-05/0.8253, allocations: 42.73 kB / 1.265 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.791e-05/0.8254, allocations: 16.84 kB / 1.265 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.8258, allocations: 249 kB / 1.266 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.8258, allocations: 4.375 kB / 1.266 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.8258, allocations: 11.92 kB / 1.266 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.826, allocations: 95.25 kB / 1.266 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.826, allocations: 0 / 1.266 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.826, allocations: 0 / 1.266 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/0.8261, allocations: 4 kB / 1.266 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.8262, allocations: 35.97 kB / 1.266 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005531/0.8267, allocations: 360.6 kB / 1.266 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.827, allocations: 70.67 kB / 1.266 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.374e-05/0.827, allocations: 40.84 kB / 1.266 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.8271, allocations: 0 / 1.266 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/0.8273, allocations: 87.31 kB / 1.266 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.673e-06/0.8273, allocations: 0 / 1.266 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0003619/0.8277, allocations: 141.5 kB / 1.266 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.8277, allocations: 77.11 kB / 1.267 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/0.828, allocations: 266.9 kB / 1.267 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.828, allocations: 25.7 kB / 1.267 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.355e-05/0.8281, allocations: 124.1 kB / 1.267 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.8282, allocations: 27.78 kB / 1.267 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.997e-05/0.8282, allocations: 33.7 kB / 1.267 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.8284, allocations: 326.8 kB / 1.267 GB, free: 484 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.651e-05/0.8285, allocations: 32.03 kB / 1.267 GB, free: 452 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.112e-05/0.8286, allocations: 55.42 kB / 1.267 GB, free: 384 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.8287, allocations: 81.94 kB / 1.267 GB, free: 296 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.8287, allocations: 8.031 kB / 1.267 GB, free: 288 kB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002391/0.829, allocations: 113.5 kB / 1.268 GB, free: 168 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.829, allocations: 4 kB / 1.268 GB, free: 164 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.829, allocations: 4 kB / 1.268 GB, free: 160 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.829, allocations: 0 / 1.268 GB, free: 160 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.349e-05/0.8291, allocations: 8 kB / 1.268 GB, free: 152 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.8291, allocations: 0 / 1.268 GB, free: 152 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.875e-05/0.8292, allocations: 11.89 kB / 1.268 GB, free: 140 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.8292, allocations: 7.984 kB / 1.268 GB, free: 132 kB / 0.9669 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.0001564/0.8294, allocations: 145.8 kB / 1.268 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/0.8294, allocations: 15.91 kB / 1.268 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.713e-05/0.8295, allocations: 17.56 kB / 1.268 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.8295, allocations: 7.984 kB / 1.268 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.8295, allocations: 0 / 1.268 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.8295, allocations: 3.938 kB / 1.268 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.8297, allocations: 217.6 kB / 1.268 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.8297, allocations: 0 / 1.268 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.198e-05/0.8297, allocations: 4 kB / 1.268 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.8298, allocations: 4 kB / 1.268 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.8298, allocations: 7.984 kB / 1.268 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.8298, allocations: 0 / 1.268 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.8298, allocations: 3.984 kB / 1.268 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.83, allocations: 144.9 kB / 1.268 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.24e-05/0.8301, allocations: 100.9 kB / 1.268 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.8302, allocations: 4 kB / 1.268 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.096e-05/0.8302, allocations: 7.984 kB / 1.268 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.8303, allocations: 7.938 kB / 1.268 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.8303, allocations: 11.88 kB / 1.268 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002054/0.8305, allocations: 200.4 kB / 1.269 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8305, allocations: 0 / 1.269 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002452/0.8307, allocations: 31.94 kB / 1.269 GB, free: 15.11 MB / 0.9825 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.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.002001/0.8328, allocations: 1.002 MB / 1.27 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002257/0.833, allocations: 71.91 kB / 1.27 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.833, allocations: 4 kB / 1.27 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.208e-05/0.8331, allocations: 28 kB / 1.27 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.8334, allocations: 47.89 kB / 1.27 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/0.8359, allocations: 1.969 MB / 1.272 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004109/0.8364, allocations: 0.7239 MB / 1.272 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.738e-05/0.8365, allocations: 25.72 kB / 1.272 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.552e-05/0.8366, allocations: 47.42 kB / 1.272 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.8366, allocations: 0 / 1.272 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02817/0.8647, allocations: 4.517 MB / 1.277 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.806/9.671, allocations: 16.19 kB / 1.277 GB, free: 6.84 MB / 0.9825 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.10207192390226]