Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001574/0.001574, allocations: 110.3 kB / 17.93 MB, free: 3.93 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.001603/0.001603, allocations: 200.4 kB / 21.18 MB, free: 0.6875 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.452/1.452, allocations: 225.6 MB / 249.9 MB, free: 13.38 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.787/2.787, allocations: 476.7 MB / 0.7634 GB, free: 10.91 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 67.91 kB / 1.108 GB, free: 7.375 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7977/0.7997, allocations: 168.7 MB / 1.272 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003724/0.8034, allocations: 1.804 MB / 1.274 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002004/0.8054, allocations: 1.05 MB / 1.275 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.232e-05/0.8055, allocations: 0 / 1.275 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006433/0.8061, allocations: 171.5 kB / 1.275 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003001/0.8064, allocations: 111.6 kB / 1.275 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000474/0.8069, allocations: 166.3 kB / 1.276 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.8071, allocations: 163.6 kB / 1.276 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.712e-05/0.8072, allocations: 17.11 kB / 1.276 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.8074, allocations: 79.69 kB / 1.276 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.8075, allocations: 75.73 kB / 1.276 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.8075, allocations: 8 kB / 1.276 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.8077, allocations: 55.95 kB / 1.276 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.877e-05/0.8077, allocations: 47.78 kB / 1.276 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.24e-05/0.8078, allocations: 59.61 kB / 1.276 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003171/0.8081, allocations: 201 kB / 1.276 GB, free: 388 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.8081, allocations: 0 / 1.276 GB, free: 388 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8081, allocations: 0 / 1.276 GB, free: 388 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.8081, allocations: 0 / 1.276 GB, free: 388 kB / 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.0008794/0.809, allocations: 0.5077 MB / 1.277 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.8091, allocations: 8.031 kB / 1.277 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.637e-05/0.8091, allocations: 34.75 kB / 1.277 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.701e-05/0.8091, allocations: 20.78 kB / 1.277 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.8095, allocations: 245 kB / 1.277 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.8095, allocations: 4.375 kB / 1.277 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.8095, allocations: 7.938 kB / 1.277 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.8097, allocations: 99.3 kB / 1.277 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.8097, allocations: 0 / 1.277 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.8097, allocations: 0 / 1.277 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.8097, allocations: 4 kB / 1.277 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.457e-05/0.8098, allocations: 27.98 kB / 1.277 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005813/0.8104, allocations: 360.6 kB / 1.278 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.8106, allocations: 70.67 kB / 1.278 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.028e-05/0.8107, allocations: 32.84 kB / 1.278 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.8107, allocations: 0 / 1.278 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.8109, allocations: 83.33 kB / 1.278 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 3.436e-06/0.8109, allocations: 3.984 kB / 1.278 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0003535/0.8112, allocations: 145.6 kB / 1.278 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.802e-05/0.8113, allocations: 89.05 kB / 1.278 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.8116, allocations: 258.9 kB / 1.278 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.8116, allocations: 29.7 kB / 1.278 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.8117, allocations: 124.1 kB / 1.278 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.8118, allocations: 27.78 kB / 1.278 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.772e-05/0.8118, allocations: 21.72 kB / 1.278 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.812, allocations: 330.8 kB / 1.279 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.219e-05/0.8121, allocations: 28 kB / 1.279 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.8122, allocations: 63.41 kB / 1.279 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.8123, allocations: 73.95 kB / 1.279 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.8123, allocations: 0 / 1.279 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002246/0.8125, allocations: 117.5 kB / 1.279 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.8126, allocations: 4 kB / 1.279 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.8126, allocations: 4.062 kB / 1.279 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.8126, allocations: 0 / 1.279 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.032e-05/0.8127, allocations: 15.98 kB / 1.279 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.8127, allocations: 0 / 1.279 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.008e-05/0.8127, allocations: 11.89 kB / 1.279 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.8127, allocations: 4 kB / 1.279 GB, free: 13.29 MB / 0.9825 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.0001489/0.8129, allocations: 154.7 kB / 1.279 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.315e-05/0.8129, allocations: 15.91 kB / 1.279 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002595/0.8132, allocations: 135.2 kB / 1.279 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.8132, allocations: 0 / 1.279 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.8132, allocations: 0 / 1.279 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.8132, allocations: 7.938 kB / 1.279 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.8135, allocations: 217.6 kB / 1.279 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.8135, allocations: 3.938 kB / 1.279 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.253e-05/0.8135, allocations: 4 kB / 1.279 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.8135, allocations: 0 / 1.279 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.8135, allocations: 3.938 kB / 1.279 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.8135, allocations: 0 / 1.279 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.8135, allocations: 8 kB / 1.28 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.8138, allocations: 156.8 kB / 1.28 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-05/0.8138, allocations: 92.95 kB / 1.28 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.8139, allocations: 3.984 kB / 1.28 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.93e-05/0.8139, allocations: 4 kB / 1.28 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.814, allocations: 11.94 kB / 1.28 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.814, allocations: 7.984 kB / 1.28 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002022/0.8142, allocations: 195 kB / 1.28 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8142, allocations: 0 / 1.28 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002489/0.8144, allocations: 31.92 kB / 1.28 GB, free: 12.16 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.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * 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.002011/0.8164, allocations: 1.002 MB / 1.281 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002337/0.8167, allocations: 71.89 kB / 1.281 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8167, allocations: 0 / 1.281 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.304e-05/0.8168, allocations: 31.98 kB / 1.281 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.8171, allocations: 37.92 kB / 1.281 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002502/0.8196, allocations: 1.969 MB / 1.283 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004785/0.82, allocations: 0.7278 MB / 1.284 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.004e-05/0.8201, allocations: 25.7 kB / 1.284 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.651e-05/0.8202, allocations: 47.42 kB / 1.284 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of SimCode: time 6.32e-07/0.8202, allocations: 0 / 1.284 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02849/0.8487, allocations: 4.54 MB / 1.288 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.352/9.2, allocations: 2.25 kB / 1.288 GB, free: 3.801 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.286346084089018]