Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.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.0007846/0.0007846, 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.0007925/0.0007925, allocations: 170.3 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.9112/0.9112, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.829/1.829, 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.IntegerReplicator,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.857e-05/2.051e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002796/0.002816, allocations: 1.769 MB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.004123, allocations: 1.188 MB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.702e-05/0.0042, allocations: 3.938 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.000825/0.005025, allocations: 67.61 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003006/0.005326, allocations: 123.4 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004477/0.005773, allocations: 198.6 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.005957, allocations: 159.5 kB / 1.003 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.745e-05/0.006054, allocations: 21.61 kB / 1.003 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.006157, allocations: 95.73 kB / 1.003 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.115e-05/0.006248, allocations: 63.8 kB / 1.003 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.006264, allocations: 8 kB / 1.003 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.006409, allocations: 75.88 kB / 1.003 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.595e-05/0.006475, allocations: 39.84 kB / 1.003 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.763e-05/0.006523, allocations: 35.84 kB / 1.003 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.006761, allocations: 215.4 kB / 1.004 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.006763, allocations: 0 / 1.004 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.31e-07/0.006764, allocations: 3.938 kB / 1.004 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.006769, allocations: 0 / 1.004 GB, free: 9.426 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004831/0.007252, allocations: 426.9 kB / 1.004 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.007287, allocations: 12.75 kB / 1.004 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.221e-05/0.007319, allocations: 30.75 kB / 1.004 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.707e-05/0.007356, allocations: 16.84 kB / 1.004 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.007598, allocations: 201.3 kB / 1.004 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.007612, allocations: 8.375 kB / 1.004 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.007622, allocations: 4.375 kB / 1.004 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.007784, allocations: 121.3 kB / 1.004 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.007791, allocations: 0 / 1.004 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.0078, allocations: 0 / 1.004 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.007809, allocations: 8 kB / 1.004 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.841e-05/0.007877, allocations: 31.98 kB / 1.004 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.008273, allocations: 319.8 kB / 1.005 GB, free: 8.141 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.008425, allocations: 90.66 kB / 1.005 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.461e-05/0.00847, allocations: 28.84 kB / 1.005 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.008484, allocations: 0 / 1.005 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000129/0.008613, allocations: 99.38 kB / 1.005 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 9.51e-07/0.008614, allocations: 0 / 1.005 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.0002381/0.008852, allocations: 141.5 kB / 1.005 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.008895, allocations: 85.05 kB / 1.005 GB, free: 7.656 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.00909, allocations: 275.1 kB / 1.005 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.009106, allocations: 29.7 kB / 1.005 GB, free: 7.34 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.954e-05/0.009176, allocations: 124.1 kB / 1.006 GB, free: 7.215 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.009197, allocations: 15.89 kB / 1.006 GB, free: 7.199 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.056e-05/0.009237, allocations: 33.64 kB / 1.006 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.009347, allocations: 330.8 kB / 1.006 GB, free: 6.828 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.875e-05/0.009396, allocations: 27.98 kB / 1.006 GB, free: 6.801 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.819e-05/0.009474, allocations: 114.8 kB / 1.006 GB, free: 6.664 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.929e-05/0.009563, allocations: 73.72 kB / 1.006 GB, free: 6.586 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.009566, allocations: 0 / 1.006 GB, free: 6.586 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001399/0.009706, allocations: 121.5 kB / 1.006 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.00972, allocations: 4 kB / 1.006 GB, free: 6.457 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.009726, allocations: 0 / 1.006 GB, free: 6.457 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.009739, allocations: 3.938 kB / 1.006 GB, free: 6.453 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.552e-05/0.009825, allocations: 15.98 kB / 1.006 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.009831, allocations: 3.938 kB / 1.006 GB, free: 6.434 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.403e-05/0.009885, allocations: 11.94 kB / 1.006 GB, free: 6.422 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.009893, allocations: 8.031 kB / 1.006 GB, free: 6.414 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: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.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.831e-05/0.009992, allocations: 141.8 kB / 1.006 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.168e-05/0.01001, allocations: 23.89 kB / 1.006 GB, free: 6.242 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002045/0.01022, allocations: 127 kB / 1.007 GB, free: 6.109 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.01023, allocations: 7.984 kB / 1.007 GB, free: 6.102 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.01023, allocations: 0 / 1.007 GB, free: 6.102 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.01023, allocations: 0 / 1.007 GB, free: 6.102 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.01037, allocations: 192.6 kB / 1.007 GB, free: 5.871 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01037, allocations: 0 / 1.007 GB, free: 5.871 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.807e-05/0.0104, allocations: 12 kB / 1.007 GB, free: 5.859 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.0104, allocations: 3.984 kB / 1.007 GB, free: 5.855 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.01041, allocations: 3.984 kB / 1.007 GB, free: 5.852 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.01041, allocations: 4 kB / 1.007 GB, free: 5.848 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.01041, allocations: 192 / 1.007 GB, free: 5.848 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.01056, allocations: 156.8 kB / 1.007 GB, free: 5.676 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.04e-05/0.01058, allocations: 11.91 kB / 1.007 GB, free: 5.664 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.0106, allocations: 4 kB / 1.007 GB, free: 5.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.827e-05/0.01063, allocations: 11.97 kB / 1.007 GB, free: 5.648 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.01067, allocations: 11.98 kB / 1.007 GB, free: 5.637 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-06/0.01068, allocations: 8 kB / 1.007 GB, free: 5.629 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001363/0.01082, allocations: 203.2 kB / 1.007 GB, free: 5.43 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.01082, allocations: 0 / 1.007 GB, free: 5.43 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001793/0.011, allocations: 35.89 kB / 1.007 GB, free: 5.395 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: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.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.0009964/0.01199, allocations: 1.03 MB / 1.008 GB, free: 4.52 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001569/0.01215, allocations: 75.89 kB / 1.008 GB, free: 4.445 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01215, allocations: 0 / 1.008 GB, free: 4.445 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.089e-05/0.0122, allocations: 36.05 kB / 1.008 GB, free: 4.41 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.01239, allocations: 48.47 kB / 1.008 GB, free: 4.371 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.01392, allocations: 2.01 MB / 1.01 GB, free: 2.277 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.195e-05/0.01399, allocations: 110.8 kB / 1.01 GB, free: 2.148 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.788e-05/0.01405, allocations: 25.48 kB / 1.01 GB, free: 2.121 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.218e-05/0.01412, allocations: 56.47 kB / 1.011 GB, free: 2.066 MB / 0.9636 GB Notification: Performance of SimCode: time 6.22e-07/0.01412, allocations: 0 / 1.011 GB, free: 2.066 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01758/0.0317, allocations: 5.614 MB / 1.016 GB, free: 12.52 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.958/6.989, allocations: 11.58 kB / 1.016 GB, free: 12.52 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv --start-time 0 --stop-time 2 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_latest_Buildings_Utilities_Math_Examples_IntegerReplicator.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_IntegerReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable intRep.u in file Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv. Warning: Get data of variable intRep.u from file Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv failed! Error: Could not read variable intRep.y[2] in file Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv. Warning: Get data of variable intRep.y[2] from file Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv failed! Error: Could not read variable intRep.y[1] in file Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv. Warning: Get data of variable intRep.y[1] from file Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.271871300414205]