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.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.001392/0.001392, allocations: 109 kB / 16.45 MB, free: 6.035 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.001371/0.001371, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.443/1.443, allocations: 225.6 MB / 247.8 MB, free: 13.91 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.127/3.127, allocations: 497.2 MB / 0.7811 GB, free: 33.7 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 73.66 kB / 1.134 GB, free: 33.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3423, allocations: 173.9 MB / 1.304 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005531/0.3478, allocations: 3.762 MB / 1.308 GB, free: 13.76 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004689/0.3525, allocations: 2.513 MB / 1.31 GB, free: 11.24 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006032/0.3531, allocations: 15.88 kB / 1.31 GB, free: 11.22 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0009293/0.354, allocations: 258.4 kB / 1.31 GB, free: 10.97 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001346/0.3554, allocations: 0.4976 MB / 1.311 GB, free: 10.47 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001615/0.357, allocations: 0.5411 MB / 1.311 GB, free: 9.93 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002028/0.359, allocations: 1.383 MB / 1.313 GB, free: 8.543 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002534/0.3593, allocations: 105.2 kB / 1.313 GB, free: 8.434 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006565/0.3599, allocations: 438.5 kB / 1.313 GB, free: 8.004 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007014/0.3606, allocations: 486.1 kB / 1.314 GB, free: 7.527 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.3607, allocations: 52 kB / 1.314 GB, free: 7.477 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.3609, allocations: 72 kB / 1.314 GB, free: 7.406 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004583/0.3613, allocations: 370.9 kB / 1.314 GB, free: 7.043 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005193/0.3619, allocations: 473.6 kB / 1.315 GB, free: 6.578 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.363, allocations: 0.9412 MB / 1.316 GB, free: 5.633 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.363, allocations: 0 / 1.316 GB, free: 5.633 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.383e-06/0.363, allocations: 0 / 1.316 GB, free: 5.633 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.363, allocations: 0 / 1.316 GB, free: 5.633 MB / 1.014 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.002553/0.3656, allocations: 1.292 MB / 1.317 GB, free: 4.285 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.3657, allocations: 8.625 kB / 1.317 GB, free: 4.277 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.483e-05/0.3658, allocations: 70.72 kB / 1.317 GB, free: 4.199 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001918/0.3659, allocations: 108.3 kB / 1.317 GB, free: 4.094 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/0.3672, allocations: 0.676 MB / 1.318 GB, free: 3.379 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.311e-05/0.3673, allocations: 37.03 kB / 1.318 GB, free: 3.344 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.3674, allocations: 68.08 kB / 1.318 GB, free: 3.277 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006925/0.3681, allocations: 411 kB / 1.318 GB, free: 2.844 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.3681, allocations: 0 / 1.318 GB, free: 2.844 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.214e-05/0.3681, allocations: 12 kB / 1.318 GB, free: 2.832 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.3682, allocations: 12 kB / 1.318 GB, free: 2.82 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004608/0.3686, allocations: 238.4 kB / 1.318 GB, free: 2.586 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003791/0.3724, allocations: 2.49 MB / 1.321 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/0.3739, allocations: 0.5341 MB / 1.321 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002767/0.3742, allocations: 144.8 kB / 1.321 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.3742, allocations: 7.938 kB / 1.321 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.3743, allocations: 42.55 kB / 1.322 GB, free: 15.17 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 2.194e-06/0.3743, allocations: 0 / 1.322 GB, free: 15.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.001899/0.3762, allocations: 0.88 MB / 1.322 GB, free: 14.22 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.3762, allocations: 55.41 kB / 1.322 GB, free: 14.15 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.3776, allocations: 0.9349 MB / 1.323 GB, free: 13.2 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.091e-05/0.3776, allocations: 33.7 kB / 1.323 GB, free: 13.16 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003334/0.378, allocations: 373.2 kB / 1.324 GB, free: 12.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.3781, allocations: 123 kB / 1.324 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002302/0.3783, allocations: 166.6 kB / 1.324 GB, free: 12.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002231/0.3786, allocations: 394.7 kB / 1.324 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004112/0.379, allocations: 245.8 kB / 1.325 GB, free: 11.87 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007705/0.3797, allocations: 0.6387 MB / 1.325 GB, free: 11.04 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.3809, allocations: 0.8957 MB / 1.326 GB, free: 9.953 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.3809, allocations: 4 kB / 1.326 GB, free: 9.949 MB / 1.029 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001791/0.3827, allocations: 1.011 MB / 1.327 GB, free: 8.922 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.3828, allocations: 12.12 kB / 1.327 GB, free: 8.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.261e-05/0.3828, allocations: 19.94 kB / 1.327 GB, free: 8.891 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004281/0.3832, allocations: 122.4 kB / 1.327 GB, free: 8.762 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006525/0.3839, allocations: 187.7 kB / 1.327 GB, free: 8.578 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004071/0.3879, allocations: 4.482 MB / 1.332 GB, free: 3.672 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009916/0.3889, allocations: 115.2 kB / 1.332 GB, free: 3.559 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.976e-05/0.389, allocations: 44 kB / 1.332 GB, free: 3.516 MB / 1.029 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.0003738/0.3894, allocations: 273.3 kB / 1.332 GB, free: 3.238 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.3895, allocations: 83.44 kB / 1.332 GB, free: 3.156 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001212/0.3896, allocations: 80.53 kB / 1.332 GB, free: 3.074 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.3896, allocations: 8.062 kB / 1.332 GB, free: 3.066 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.3896, allocations: 0 / 1.332 GB, free: 3.066 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.3896, allocations: 3.984 kB / 1.332 GB, free: 3.062 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000863/0.3905, allocations: 0.6609 MB / 1.333 GB, free: 2.352 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.3905, allocations: 4 kB / 1.333 GB, free: 2.348 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003423/0.3908, allocations: 63.88 kB / 1.333 GB, free: 2.285 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003219/0.3912, allocations: 106.4 kB / 1.333 GB, free: 2.172 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.4e-05/0.3912, allocations: 11.98 kB / 1.333 GB, free: 2.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003856/0.3951, allocations: 4.446 MB / 1.338 GB, free: 13.3 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.3951, allocations: 4 kB / 1.338 GB, free: 13.29 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.3964, allocations: 0.7475 MB / 1.338 GB, free: 12.52 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004902/0.3969, allocations: 216.3 kB / 1.338 GB, free: 12.29 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.519e-05/0.397, allocations: 8 kB / 1.338 GB, free: 12.28 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004454/0.3975, allocations: 19.97 kB / 1.339 GB, free: 12.26 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.846e-05/0.3976, allocations: 23.97 kB / 1.339 GB, free: 12.24 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.3976, allocations: 4.188 kB / 1.339 GB, free: 12.23 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001013/0.3986, allocations: 0.6356 MB / 1.339 GB, free: 11.61 MB / 1.045 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3986, allocations: 0 / 1.339 GB, free: 11.61 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001031/0.3996, allocations: 267.8 kB / 1.339 GB, free: 11.34 MB / 1.045 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.001713/0.4013, allocations: 1.3 MB / 1.341 GB, free: 10 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001761/0.4031, allocations: 0.8975 MB / 1.342 GB, free: 9.07 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.4031, allocations: 0 / 1.342 GB, free: 9.07 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0007331/0.4038, allocations: 0.5156 MB / 1.342 GB, free: 8.52 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.405, allocations: 171.7 kB / 1.342 GB, free: 8.352 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01488/0.4199, allocations: 7.832 MB / 1.35 GB, free: 15.98 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008118/0.4207, allocations: 0.9956 MB / 1.351 GB, free: 14.95 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000522/0.4212, allocations: 149.8 kB / 1.351 GB, free: 14.8 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004224/0.4216, allocations: 283.3 kB / 1.351 GB, free: 14.53 MB / 1.061 GB Notification: Performance of SimCode: time 1.633e-06/0.4216, allocations: 0 / 1.351 GB, free: 14.53 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05809/0.4797, allocations: 17.38 MB / 1.368 GB, free: 13.41 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.03, allocations: 17.7 kB / 1.368 GB, free: 13.4 MB / 1.076 GB " [Timeout remaining time 288] (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_2/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: 18.650367995724082]