Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001374/0.001374, allocations: 102.7 kB / 16.45 MB, free: 6.445 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.001612/0.001612, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.548/1.548, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.61/2.61, allocations: 443.5 MB / 0.7287 GB, free: 14.53 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002192/0.002192, allocations: 59.91 kB / 1.056 GB, free: 2.488 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3417, allocations: 160.7 MB / 1.213 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003673/0.3453, allocations: 1.799 MB / 1.215 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00207/0.3474, allocations: 1.027 MB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.3475, allocations: 0 / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007451/0.3483, allocations: 167.5 kB / 1.216 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003271/0.3486, allocations: 115.6 kB / 1.216 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005259/0.3491, allocations: 174.3 kB / 1.216 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002409/0.3494, allocations: 159.5 kB / 1.216 GB, free: 14 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.3495, allocations: 21.09 kB / 1.216 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.3496, allocations: 67.7 kB / 1.216 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.3497, allocations: 79.67 kB / 1.216 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/0.3498, allocations: 8 kB / 1.216 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.3499, allocations: 63.95 kB / 1.216 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.046e-05/0.35, allocations: 43.84 kB / 1.217 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.307e-05/0.3501, allocations: 67.55 kB / 1.217 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003378/0.3504, allocations: 199.5 kB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3504, allocations: 0 / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3504, allocations: 0 / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.879e-06/0.3504, allocations: 0 / 1.217 GB, free: 13.46 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.0008773/0.3513, allocations: 0.4922 MB / 1.217 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.3514, allocations: 8.031 kB / 1.217 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.318e-05/0.3514, allocations: 34.75 kB / 1.217 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.427e-05/0.3515, allocations: 16.84 kB / 1.217 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003729/0.3518, allocations: 260.8 kB / 1.218 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.3519, allocations: 8.375 kB / 1.218 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.3519, allocations: 7.938 kB / 1.218 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.3521, allocations: 87.31 kB / 1.218 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3521, allocations: 3.984 kB / 1.218 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.3521, allocations: 4 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.29e-05/0.3521, allocations: 4 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.3522, allocations: 31.98 kB / 1.218 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005788/0.3528, allocations: 356.7 kB / 1.218 GB, free: 12 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.353, allocations: 74.61 kB / 1.218 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.437e-05/0.3531, allocations: 24.86 kB / 1.218 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.3531, allocations: 7.984 kB / 1.218 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002565/0.3534, allocations: 75.39 kB / 1.218 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.3534, allocations: 0 / 1.218 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.000385/0.3538, allocations: 149.4 kB / 1.218 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001464/0.3539, allocations: 77.11 kB / 1.218 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003091/0.3542, allocations: 270.9 kB / 1.219 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.3543, allocations: 25.7 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.3544, allocations: 124.1 kB / 1.219 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.3544, allocations: 23.78 kB / 1.219 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.613e-05/0.3545, allocations: 33.64 kB / 1.219 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002158/0.3547, allocations: 330.8 kB / 1.219 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.155e-05/0.3548, allocations: 23.98 kB / 1.219 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.3549, allocations: 63.41 kB / 1.219 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.355, allocations: 69.73 kB / 1.219 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/0.355, allocations: 4.109 kB / 1.219 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002347/0.3552, allocations: 113.5 kB / 1.219 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.3553, allocations: 9.5 kB / 1.219 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3553, allocations: 0 / 1.219 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.3553, allocations: 4 kB / 1.219 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.286e-05/0.3554, allocations: 12 kB / 1.219 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.3554, allocations: 3.984 kB / 1.22 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.488e-05/0.3554, allocations: 15.92 kB / 1.22 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.3555, allocations: 4 kB / 1.22 GB, free: 10.39 MB / 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.0001443/0.3556, allocations: 137.8 kB / 1.22 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.3556, allocations: 15.91 kB / 1.22 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.461e-05/0.3557, allocations: 21.77 kB / 1.22 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.407e-06/0.3557, allocations: 0 / 1.22 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/0.3557, allocations: 8 kB / 1.22 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3557, allocations: 3.938 kB / 1.22 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.3559, allocations: 229.5 kB / 1.22 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3559, allocations: 4 kB / 1.22 GB, free: 9.914 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.438e-05/0.356, allocations: 7.938 kB / 1.22 GB, free: 9.906 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.356, allocations: 0 / 1.22 GB, free: 9.906 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.356, allocations: 3.984 kB / 1.22 GB, free: 9.902 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.356, allocations: 4 kB / 1.22 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.356, allocations: 0 / 1.22 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.3562, allocations: 140.9 kB / 1.22 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.611e-05/0.3563, allocations: 97 kB / 1.22 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.3563, allocations: 8 kB / 1.22 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.825e-05/0.3564, allocations: 3.938 kB / 1.22 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/0.3564, allocations: 11.92 kB / 1.22 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.3564, allocations: 4 kB / 1.22 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000205/0.3567, allocations: 200.2 kB / 1.22 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3567, allocations: 0 / 1.22 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002591/0.3569, allocations: 35.92 kB / 1.22 GB, free: 9.371 MB / 0.9669 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.002221/0.3591, allocations: 1.001 MB / 1.221 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002336/0.3594, allocations: 67.97 kB / 1.221 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3594, allocations: 0 / 1.221 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.233e-05/0.3595, allocations: 35.92 kB / 1.221 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.3598, allocations: 52.83 kB / 1.222 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/0.3624, allocations: 1.95 MB / 1.223 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004871/0.3629, allocations: 0.7317 MB / 1.224 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.076e-05/0.363, allocations: 29.66 kB / 1.224 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.3631, allocations: 43.42 kB / 1.224 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of SimCode: time 5.31e-07/0.3631, allocations: 3.938 kB / 1.224 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03302/0.3962, allocations: 4.543 MB / 1.229 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.409/8.805, allocations: 6.25 kB / 1.229 GB, free: 1.027 MB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.218199917115271]