Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.000825/0.000825, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008434/0.0008434, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8937/0.8937, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.752/1.752, allocations: 377.8 MB / 0.6221 GB, free: 8.637 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.918e-05/2.097e-05, allocations: 2.281 kB / 0.981 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002496/0.002517, allocations: 1.784 MB / 0.9827 GB, free: 0.7891 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.00397, allocations: 1.192 MB / 0.9839 GB, free: 15.59 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.004075, allocations: 0 / 0.9839 GB, free: 15.59 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003389/0.004414, allocations: 71.55 kB / 0.9839 GB, free: 15.52 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.000364/0.004778, allocations: 119.5 kB / 0.984 GB, free: 15.4 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004611/0.005239, allocations: 201.8 kB / 0.9842 GB, free: 15.21 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.005432, allocations: 159.5 kB / 0.9844 GB, free: 15.05 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.005537, allocations: 17.62 kB / 0.9844 GB, free: 15.03 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.005655, allocations: 91.73 kB / 0.9845 GB, free: 14.94 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.005755, allocations: 67.8 kB / 0.9846 GB, free: 14.88 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.005773, allocations: 8 kB / 0.9846 GB, free: 14.87 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.005919, allocations: 71.88 kB / 0.9846 GB, free: 14.8 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 7.215e-05/0.005991, allocations: 47.83 kB / 0.9847 GB, free: 14.75 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.256e-05/0.006044, allocations: 35.86 kB / 0.9847 GB, free: 14.71 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.006311, allocations: 211.4 kB / 0.9849 GB, free: 14.51 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.006316, allocations: 4 kB / 0.9849 GB, free: 14.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.262e-06/0.006317, allocations: 0 / 0.9849 GB, free: 14.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.006322, allocations: 0 / 0.9849 GB, free: 14.5 MB / 0.948 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.000572/0.006894, allocations: 433.4 kB / 0.9853 GB, free: 14.05 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.006932, allocations: 12.03 kB / 0.9853 GB, free: 14.04 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.967e-05/0.006962, allocations: 30.75 kB / 0.9854 GB, free: 14 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.007002, allocations: 16.84 kB / 0.9854 GB, free: 13.98 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.007268, allocations: 194.1 kB / 0.9856 GB, free: 13.77 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.007285, allocations: 8.375 kB / 0.9856 GB, free: 13.76 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.007297, allocations: 4.375 kB / 0.9856 GB, free: 13.75 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003289/0.007626, allocations: 121.3 kB / 0.9857 GB, free: 13.62 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.007634, allocations: 3.984 kB / 0.9857 GB, free: 13.61 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.007645, allocations: 0 / 0.9857 GB, free: 13.61 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.007657, allocations: 11.98 kB / 0.9857 GB, free: 13.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.659e-05/0.007734, allocations: 31.98 kB / 0.9858 GB, free: 13.57 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004027/0.008136, allocations: 319.7 kB / 0.9861 GB, free: 13.21 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.008289, allocations: 90.64 kB / 0.9861 GB, free: 13.12 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.463e-05/0.008334, allocations: 32.84 kB / 0.9862 GB, free: 13.08 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.008348, allocations: 0 / 0.9862 GB, free: 13.08 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/0.008498, allocations: 95.36 kB / 0.9863 GB, free: 12.98 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 1.703e-06/0.008499, allocations: 0 / 0.9863 GB, free: 12.98 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.0002538/0.008753, allocations: 141.5 kB / 0.9864 GB, free: 12.83 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.008794, allocations: 81.11 kB / 0.9865 GB, free: 12.73 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.008982, allocations: 271.2 kB / 0.9867 GB, free: 12.46 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.008996, allocations: 29.7 kB / 0.9868 GB, free: 12.43 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.258e-05/0.009059, allocations: 120.1 kB / 0.9869 GB, free: 12.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.009081, allocations: 19.89 kB / 0.9869 GB, free: 12.29 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.009117, allocations: 25.7 kB / 0.9869 GB, free: 12.25 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.304e-05/0.0092, allocations: 334.8 kB / 0.9872 GB, free: 11.92 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.634e-05/0.009247, allocations: 27.92 kB / 0.9873 GB, free: 11.89 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.414e-05/0.009321, allocations: 118.8 kB / 0.9874 GB, free: 11.75 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.729e-05/0.009418, allocations: 74.03 kB / 0.9875 GB, free: 11.67 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.00942, allocations: 0 / 0.9875 GB, free: 11.67 MB / 0.948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000139/0.009559, allocations: 117.5 kB / 0.9876 GB, free: 11.55 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.009573, allocations: 8 kB / 0.9876 GB, free: 11.54 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.009579, allocations: 0 / 0.9876 GB, free: 11.54 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.009591, allocations: 0 / 0.9876 GB, free: 11.54 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.117e-05/0.009662, allocations: 15.98 kB / 0.9876 GB, free: 11.53 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.009667, allocations: 0 / 0.9876 GB, free: 11.53 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.325e-05/0.00971, allocations: 23.86 kB / 0.9876 GB, free: 11.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.009716, allocations: 0 / 0.9876 GB, free: 11.5 MB / 0.948 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 0.000102/0.009818, allocations: 150.9 kB / 0.9878 GB, free: 11.35 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.728e-05/0.009835, allocations: 15.91 kB / 0.9878 GB, free: 11.33 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001876/0.01002, allocations: 131.2 kB / 0.9879 GB, free: 11.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.01003, allocations: 7.938 kB / 0.9879 GB, free: 11.19 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.01004, allocations: 3.984 kB / 0.9879 GB, free: 11.19 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01004, allocations: 0 / 0.9879 GB, free: 11.19 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.01018, allocations: 192.6 kB / 0.9881 GB, free: 10.96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01018, allocations: 0 / 0.9881 GB, free: 10.96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.952e-05/0.01021, allocations: 12 kB / 0.9881 GB, free: 10.95 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.01021, allocations: 0 / 0.9881 GB, free: 10.95 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.01022, allocations: 3.984 kB / 0.9881 GB, free: 10.94 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.01022, allocations: 0 / 0.9881 GB, free: 10.94 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.01022, allocations: 4 kB / 0.9881 GB, free: 10.94 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.01038, allocations: 152.9 kB / 0.9883 GB, free: 10.77 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.064e-05/0.0104, allocations: 15.91 kB / 0.9883 GB, free: 10.75 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.01042, allocations: 4 kB / 0.9883 GB, free: 10.75 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.696e-05/0.01044, allocations: 4 kB / 0.9883 GB, free: 10.75 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.01049, allocations: 15.97 kB / 0.9883 GB, free: 10.73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.0105, allocations: 8 kB / 0.9883 GB, free: 10.72 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001327/0.01063, allocations: 204.6 kB / 0.9885 GB, free: 10.52 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01063, allocations: 0 / 0.9885 GB, free: 10.52 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001858/0.01082, allocations: 35.92 kB / 0.9885 GB, free: 10.49 MB / 0.948 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.00102/0.01184, allocations: 1.031 MB / 0.9895 GB, free: 9.609 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001625/0.012, allocations: 71.91 kB / 0.9896 GB, free: 9.539 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.012, allocations: 0 / 0.9896 GB, free: 9.539 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.313e-05/0.01206, allocations: 40.03 kB / 0.9896 GB, free: 9.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.01227, allocations: 50.78 kB / 0.9897 GB, free: 9.457 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.01392, allocations: 2 MB / 0.9916 GB, free: 7.363 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.799e-05/0.014, allocations: 118.6 kB / 0.9918 GB, free: 7.23 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.17e-05/0.01407, allocations: 29.78 kB / 0.9918 GB, free: 7.203 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.607e-05/0.01415, allocations: 56.42 kB / 0.9918 GB, free: 7.148 MB / 0.948 GB Notification: Performance of SimCode: time 9.02e-07/0.01415, allocations: 0 / 0.9918 GB, free: 7.148 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02035/0.0345, allocations: 5.62 MB / 0.9973 GB, free: 1.613 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.776/6.811, allocations: 4.062 kB / 0.9973 GB, free: 1.609 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv --start-time 0 --stop-time 2 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_12_Buildings_Utilities_Math_Examples_IntegerReplicator.fmu > Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_IntegerReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv. Warning: Get data of variable intRep.u from file Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv failed! Error: Could not read variable intRep.y[2] in file Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv. Warning: Get data of variable intRep.y[2] from file Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv failed! Error: Could not read variable intRep.y[1] in file Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv. Warning: Get data of variable intRep.y[1] from file Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.958318620920181]