Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.001461/0.001461, allocations: 97.92 kB / 19.73 MB, free: 2.133 MB / 14.72 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.001658/0.001658, allocations: 219.8 kB / 23.03 MB, free: 4.945 MB / 14.72 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 1.406/1.406, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 3.083/3.083, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002218/0.002218, allocations: 65.44 kB / 1.17 GB, free: 19.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3344, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005148/0.3395, allocations: 3.443 MB / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004452/0.344, allocations: 2.41 MB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005021/0.3445, allocations: 19.81 kB / 1.351 GB, free: 10.05 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0008265/0.3453, allocations: 246.4 kB / 1.351 GB, free: 9.805 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001301/0.3466, allocations: 0.5461 MB / 1.352 GB, free: 9.258 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.348, allocations: 0.5613 MB / 1.352 GB, free: 8.695 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001769/0.3498, allocations: 1.414 MB / 1.354 GB, free: 7.277 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002609/0.35, allocations: 109.7 kB / 1.354 GB, free: 7.164 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008211/0.3508, allocations: 446.5 kB / 1.354 GB, free: 6.727 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008954/0.3517, allocations: 0.4903 MB / 1.355 GB, free: 6.234 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001717/0.3519, allocations: 52 kB / 1.355 GB, free: 6.184 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002803/0.3522, allocations: 72 kB / 1.355 GB, free: 6.113 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0005325/0.3527, allocations: 398.8 kB / 1.355 GB, free: 5.723 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0006033/0.3533, allocations: 394.1 kB / 1.356 GB, free: 5.336 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001118/0.3544, allocations: 0.9569 MB / 1.357 GB, free: 4.375 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3544, allocations: 0 / 1.357 GB, free: 4.375 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3544, allocations: 4 kB / 1.357 GB, free: 4.371 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3e-05/0.3545, allocations: 0 / 1.357 GB, free: 4.371 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002661/0.3571, allocations: 1.24 MB / 1.358 GB, free: 3.098 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.3572, allocations: 8.031 kB / 1.358 GB, free: 3.09 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.224e-05/0.3572, allocations: 8.844 kB / 1.358 GB, free: 3.082 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.826e-05/0.3573, allocations: 70.72 kB / 1.358 GB, free: 3.004 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003481/0.3576, allocations: 112.3 kB / 1.358 GB, free: 2.895 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001216/0.3588, allocations: 0.6221 MB / 1.359 GB, free: 2.242 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.091e-05/0.3589, allocations: 41.03 kB / 1.359 GB, free: 2.203 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.286e-05/0.359, allocations: 55.94 kB / 1.359 GB, free: 2.148 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006733/0.3596, allocations: 411 kB / 1.359 GB, free: 1.711 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.3597, allocations: 0 / 1.359 GB, free: 1.711 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.187e-05/0.3597, allocations: 12 kB / 1.359 GB, free: 1.699 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.3597, allocations: 8 kB / 1.359 GB, free: 1.691 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004374/0.3601, allocations: 246.3 kB / 1.359 GB, free: 1.453 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003/0.3631, allocations: 1.882 MB / 1.361 GB, free: 15.5 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.3646, allocations: 0.526 MB / 1.362 GB, free: 14.96 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002596/0.3649, allocations: 144.8 kB / 1.362 GB, free: 14.82 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.3649, allocations: 4 kB / 1.362 GB, free: 14.82 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.3649, allocations: 42.56 kB / 1.362 GB, free: 14.77 MB / 1.061 GB Notification: Performance of pre-optimization done (n=30): time 2.184e-06/0.3649, allocations: 0 / 1.362 GB, free: 14.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=30): time 0.001642/0.3666, allocations: 0.6635 MB / 1.362 GB, free: 14.09 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.3666, allocations: 55.41 kB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.368, allocations: 0.935 MB / 1.363 GB, free: 13.08 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.467e-05/0.368, allocations: 41.7 kB / 1.363 GB, free: 13.03 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003502/0.3684, allocations: 365.2 kB / 1.364 GB, free: 12.67 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.3685, allocations: 126.9 kB / 1.364 GB, free: 12.54 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002239/0.3688, allocations: 166.6 kB / 1.364 GB, free: 12.38 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002054/0.369, allocations: 398.7 kB / 1.364 GB, free: 11.98 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004055/0.3694, allocations: 245.8 kB / 1.365 GB, free: 11.74 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007241/0.3701, allocations: 0.6352 MB / 1.365 GB, free: 10.91 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.3712, allocations: 0.8916 MB / 1.366 GB, free: 9.824 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/0.3712, allocations: 4 kB / 1.366 GB, free: 9.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001728/0.373, allocations: 1.022 MB / 1.367 GB, free: 8.781 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.373, allocations: 15.94 kB / 1.367 GB, free: 8.766 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/0.373, allocations: 12.66 kB / 1.367 GB, free: 8.754 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004208/0.3734, allocations: 126.5 kB / 1.367 GB, free: 8.621 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006621/0.3741, allocations: 195.6 kB / 1.368 GB, free: 8.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003733/0.3778, allocations: 4.148 MB / 1.372 GB, free: 3.934 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/0.3789, allocations: 123.2 kB / 1.372 GB, free: 3.812 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.379, allocations: 52.16 kB / 1.372 GB, free: 3.762 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004249/0.3795, allocations: 261.4 kB / 1.372 GB, free: 3.496 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002068/0.3797, allocations: 83.44 kB / 1.372 GB, free: 3.414 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.3798, allocations: 84.52 kB / 1.372 GB, free: 3.328 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3798, allocations: 0 / 1.372 GB, free: 3.328 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.3798, allocations: 4 kB / 1.372 GB, free: 3.324 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.3798, allocations: 0 / 1.372 GB, free: 3.324 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008104/0.3806, allocations: 0.5158 MB / 1.373 GB, free: 2.766 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3806, allocations: 4 kB / 1.373 GB, free: 2.762 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000342/0.381, allocations: 63.89 kB / 1.373 GB, free: 2.699 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003634/0.3814, allocations: 98.5 kB / 1.373 GB, free: 2.594 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.583e-05/0.3814, allocations: 11.98 kB / 1.373 GB, free: 2.582 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003773/0.3852, allocations: 4.139 MB / 1.377 GB, free: 14.1 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3852, allocations: 4.062 kB / 1.377 GB, free: 14.1 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.3864, allocations: 0.748 MB / 1.378 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003969/0.3868, allocations: 131.2 kB / 1.378 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.387, allocations: 15.98 kB / 1.378 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005192/0.3875, allocations: 23.97 kB / 1.378 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.63e-05/0.3875, allocations: 23.95 kB / 1.378 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.3876, allocations: 4 kB / 1.378 GB, free: 13.13 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0009127/0.3885, allocations: 0.6356 MB / 1.378 GB, free: 12.5 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3885, allocations: 0 / 1.378 GB, free: 12.5 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009358/0.3894, allocations: 267.8 kB / 1.379 GB, free: 12.23 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001517/0.3909, allocations: 1.288 MB / 1.38 GB, free: 10.91 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001647/0.3926, allocations: 0.8971 MB / 1.381 GB, free: 9.973 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.3926, allocations: 3.938 kB / 1.381 GB, free: 9.969 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006815/0.3933, allocations: 0.5127 MB / 1.381 GB, free: 9.418 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.3943, allocations: 168.5 kB / 1.381 GB, free: 9.254 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/0.4059, allocations: 7.873 MB / 1.389 GB, free: 0.8438 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004764/0.4064, allocations: 388.5 kB / 1.39 GB, free: 448 kB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004677/0.4068, allocations: 149.9 kB / 1.39 GB, free: 296 kB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004118/0.4072, allocations: 279.3 kB / 1.39 GB, free: 16 kB / 1.076 GB Notification: Performance of SimCode: time 6.71e-07/0.4072, allocations: 0 / 1.39 GB, free: 16 kB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05457/0.4618, allocations: 18.77 MB / 1.408 GB, free: 13.64 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.29, allocations: 11.14 kB / 1.408 GB, free: 13.64 MB / 1.107 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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: 19.928972736001015]