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.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.001095/0.001095, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001175/0.001175, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9093/0.9093, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.833/1.833, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.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 1.503e-06/1.503e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/1.98e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003023/0.003042, allocations: 1.786 MB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001617/0.004659, allocations: 1.118 MB / 1.002 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.109e-05/0.00475, allocations: 3.938 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0006141/0.005364, allocations: 175.3 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003201/0.005684, allocations: 151.4 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002586/0.005943, allocations: 146.6 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.006122, allocations: 179.5 kB / 1.003 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.006224, allocations: 29.27 kB / 1.003 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.006326, allocations: 91.78 kB / 1.003 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.886e-05/0.006415, allocations: 63.81 kB / 1.003 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.006433, allocations: 8 kB / 1.003 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.006552, allocations: 75.81 kB / 1.003 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.147e-05/0.006613, allocations: 47.83 kB / 1.003 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.511e-05/0.006659, allocations: 31.88 kB / 1.003 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.006885, allocations: 207.4 kB / 1.004 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.006888, allocations: 0 / 1.004 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.262e-06/0.006889, allocations: 0 / 1.004 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.006894, allocations: 0 / 1.004 GB, free: 9.371 MB / 0.9636 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.0005358/0.00743, allocations: 438.8 kB / 1.004 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.007471, allocations: 8.75 kB / 1.004 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.757e-05/0.007499, allocations: 34.75 kB / 1.004 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.007537, allocations: 16.84 kB / 1.004 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.007763, allocations: 197.3 kB / 1.004 GB, free: 8.621 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.007777, allocations: 4.375 kB / 1.004 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.007788, allocations: 8.375 kB / 1.004 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.00792, allocations: 81.91 kB / 1.004 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.007927, allocations: 0 / 1.004 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.007936, allocations: 0 / 1.004 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-06/0.007946, allocations: 4 kB / 1.004 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.602e-05/0.008012, allocations: 35.98 kB / 1.004 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003892/0.008401, allocations: 323.8 kB / 1.005 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.00853, allocations: 70.61 kB / 1.005 GB, free: 8.047 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.387e-05/0.008573, allocations: 36.84 kB / 1.005 GB, free: 8.008 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.008588, allocations: 3.984 kB / 1.005 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00012/0.008708, allocations: 83.38 kB / 1.005 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.008709, allocations: 0 / 1.005 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10): time 0.0002392/0.008948, allocations: 157.4 kB / 1.005 GB, free: 7.75 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.008977, allocations: 51.41 kB / 1.005 GB, free: 7.688 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.009174, allocations: 279.2 kB / 1.005 GB, free: 7.402 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.009186, allocations: 25.7 kB / 1.005 GB, free: 7.371 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.685e-05/0.009252, allocations: 124.1 kB / 1.006 GB, free: 7.246 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.009275, allocations: 23.84 kB / 1.006 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.009308, allocations: 25.72 kB / 1.006 GB, free: 7.191 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.274e-05/0.00939, allocations: 338.8 kB / 1.006 GB, free: 6.852 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.214e-05/0.009433, allocations: 27.98 kB / 1.006 GB, free: 6.824 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.202e-05/0.009495, allocations: 76.38 kB / 1.006 GB, free: 6.734 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.281e-05/0.009577, allocations: 81.56 kB / 1.006 GB, free: 6.648 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.009579, allocations: 0 / 1.006 GB, free: 6.648 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001284/0.009708, allocations: 121.5 kB / 1.006 GB, free: 6.523 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.009721, allocations: 8 kB / 1.006 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.009728, allocations: 4.062 kB / 1.006 GB, free: 6.512 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.00974, allocations: 0 / 1.006 GB, free: 6.512 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.488e-05/0.009794, allocations: 8 kB / 1.006 GB, free: 6.504 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.0098, allocations: 0.5312 kB / 1.006 GB, free: 6.504 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.556e-05/0.009836, allocations: 15.92 kB / 1.006 GB, free: 6.488 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.009844, allocations: 7.984 kB / 1.006 GB, free: 6.48 MB / 0.9636 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 9.063e-05/0.009934, allocations: 141.8 kB / 1.006 GB, free: 6.332 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.00995, allocations: 23.8 kB / 1.006 GB, free: 6.309 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001666/0.01012, allocations: 131 kB / 1.007 GB, free: 6.172 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.01012, allocations: 11.98 kB / 1.007 GB, free: 6.16 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.01013, allocations: 0 / 1.007 GB, free: 6.16 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.01013, allocations: 0 / 1.007 GB, free: 6.16 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.01027, allocations: 188.6 kB / 1.007 GB, free: 5.934 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01027, allocations: 4 kB / 1.007 GB, free: 5.93 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.696e-05/0.01029, allocations: 7.938 kB / 1.007 GB, free: 5.922 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.01029, allocations: 0 / 1.007 GB, free: 5.922 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.0103, allocations: 0 / 1.007 GB, free: 5.922 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.0103, allocations: 3.984 kB / 1.007 GB, free: 5.918 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.0103, allocations: 0 / 1.007 GB, free: 5.918 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.01043, allocations: 164.9 kB / 1.007 GB, free: 5.738 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.139e-05/0.01045, allocations: 23.83 kB / 1.007 GB, free: 5.715 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.01047, allocations: 7.984 kB / 1.007 GB, free: 5.707 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.536e-05/0.0105, allocations: 4 kB / 1.007 GB, free: 5.703 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.01053, allocations: 7.984 kB / 1.007 GB, free: 5.695 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.01053, allocations: 4 kB / 1.007 GB, free: 5.691 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001231/0.01066, allocations: 199.2 kB / 1.007 GB, free: 5.496 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.01066, allocations: 0 / 1.007 GB, free: 5.496 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001721/0.01083, allocations: 31.94 kB / 1.007 GB, free: 5.465 MB / 0.9636 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.001008/0.01184, allocations: 1.031 MB / 1.008 GB, free: 4.598 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001482/0.01199, allocations: 71.91 kB / 1.008 GB, free: 4.527 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.01199, allocations: 0 / 1.008 GB, free: 4.527 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.056e-05/0.01204, allocations: 39.92 kB / 1.008 GB, free: 4.488 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.01224, allocations: 41.25 kB / 1.008 GB, free: 4.449 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.01379, allocations: 2.025 MB / 1.01 GB, free: 2.34 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.893e-05/0.01387, allocations: 122.8 kB / 1.01 GB, free: 2.199 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.261e-05/0.01392, allocations: 25.77 kB / 1.01 GB, free: 2.172 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.5e-05/0.01399, allocations: 48.48 kB / 1.01 GB, free: 2.125 MB / 0.9636 GB Notification: Performance of SimCode: time 5.41e-07/0.01399, allocations: 0 / 1.01 GB, free: 2.125 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01824/0.03223, allocations: 5.423 MB / 1.016 GB, free: 12.77 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.981/7.013, allocations: 14.39 kB / 1.016 GB, free: 12.75 MB / 0.9792 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv --start-time 0 --stop-time 600 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 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.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable booRep.u in file Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv. Warning: Get data of variable booRep.u from file Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv failed! Error: Could not read variable booRep.y[1] in file Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv. Warning: Get data of variable booRep.y[1] from file Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv failed! Error: Could not read variable booRep.y[2] in file Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv. Warning: Get data of variable booRep.y[2] from file Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv failed! Error: Could not read variable booRep.y[3] in file Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv. Warning: Get data of variable booRep.y[3] from file Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv failed! Error: Could not read variable booRep.y[4] in file Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv. Warning: Get data of variable booRep.y[4] from file Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.311661555431783]