Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009698/0.009698, allocations: 102.9 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 188.4 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.59/2.59, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 68.08 kB / 1.054 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8099/0.8111, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002909/0.8141, allocations: 1.596 MB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001316/0.8154, allocations: 0.9229 MB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.902e-05/0.8155, allocations: 0 / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002313/0.8157, allocations: 55.67 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000422/0.8162, allocations: 155.2 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 3.292e-05/0.8162, allocations: 7.984 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004046/0.8167, allocations: 370.3 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.612e-05/0.8167, allocations: 48.75 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.8169, allocations: 143.4 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001877/0.8171, allocations: 135.3 kB / 1.211 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.066e-05/0.8172, allocations: 16 kB / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.825e-05/0.8172, allocations: 16 kB / 1.211 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.983e-05/0.8173, allocations: 51.7 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.8174, allocations: 131.3 kB / 1.211 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.8177, allocations: 280.6 kB / 1.211 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.8177, allocations: 0 / 1.211 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.442e-06/0.8177, allocations: 0 / 1.211 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.8177, allocations: 4 kB / 1.212 GB, free: 9.703 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001076/0.8188, allocations: 0.6263 MB / 1.212 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.8189, allocations: 12.03 kB / 1.212 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.171e-05/0.8189, allocations: 28.56 kB / 1.212 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005086/0.8194, allocations: 390.2 kB / 1.213 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.8195, allocations: 12.36 kB / 1.213 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.8195, allocations: 384 / 1.213 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.8196, allocations: 97.39 kB / 1.213 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.8197, allocations: 3.938 kB / 1.213 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.8197, allocations: 7.984 kB / 1.213 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.8197, allocations: 0 / 1.213 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.598e-05/0.8198, allocations: 63.94 kB / 1.213 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/0.8202, allocations: 363.9 kB / 1.213 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.8203, allocations: 110.4 kB / 1.213 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.107e-05/0.8204, allocations: 59.47 kB / 1.213 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.8204, allocations: 0 / 1.213 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.8204, allocations: 50.42 kB / 1.213 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.8205, allocations: 0 / 1.213 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0003176/0.8208, allocations: 181.4 kB / 1.213 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.8208, allocations: 132.5 kB / 1.214 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000572/0.8214, allocations: 0.5132 MB / 1.214 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.8215, allocations: 29.69 kB / 1.214 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.8216, allocations: 164 kB / 1.214 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.8216, allocations: 19.75 kB / 1.214 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.085e-05/0.8217, allocations: 17.7 kB / 1.214 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.8218, allocations: 347 kB / 1.215 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.731e-05/0.8219, allocations: 35.95 kB / 1.215 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.158e-05/0.8219, allocations: 55.41 kB / 1.215 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.8221, allocations: 103.3 kB / 1.215 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.8221, allocations: 4 kB / 1.215 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002057/0.8223, allocations: 145.2 kB / 1.215 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.8223, allocations: 7.938 kB / 1.215 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.8223, allocations: 4 kB / 1.215 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.8224, allocations: 0 / 1.215 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.8225, allocations: 15.92 kB / 1.215 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.8225, allocations: 0 / 1.215 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.8226, allocations: 12.11 kB / 1.215 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.8226, allocations: 7.984 kB / 1.215 GB, free: 5.816 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * 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.0001519/0.8228, allocations: 173.8 kB / 1.215 GB, free: 5.637 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.387e-05/0.8229, allocations: 35.56 kB / 1.215 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003212/0.8232, allocations: 183.6 kB / 1.215 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.8232, allocations: 4 kB / 1.215 GB, free: 5.402 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.8232, allocations: 4.125 kB / 1.215 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.8232, allocations: 8.078 kB / 1.215 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.8235, allocations: 313.4 kB / 1.216 GB, free: 5.035 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.8235, allocations: 0 / 1.216 GB, free: 5.035 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.456e-05/0.8236, allocations: 12 kB / 1.216 GB, free: 5.023 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.8236, allocations: 7.875 kB / 1.216 GB, free: 5.016 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.8236, allocations: 8 kB / 1.216 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.189e-06/0.8236, allocations: 3.984 kB / 1.216 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.8236, allocations: 7.938 kB / 1.216 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.8239, allocations: 183.2 kB / 1.216 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.8241, allocations: 136.6 kB / 1.216 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.247e-05/0.8241, allocations: 7.984 kB / 1.216 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.8243, allocations: 7.984 kB / 1.216 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.473e-05/0.8243, allocations: 8 kB / 1.216 GB, free: 4.613 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-06/0.8243, allocations: 8 kB / 1.216 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004204/0.8247, allocations: 399 kB / 1.216 GB, free: 4.223 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8247, allocations: 0 / 1.216 GB, free: 4.223 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002475/0.825, allocations: 40 kB / 1.216 GB, free: 4.184 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (8): * Single equations (assignments): 8 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 8.652e-05/0.8251, allocations: 95.25 kB / 1.217 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001816/0.8253, allocations: 83.86 kB / 1.217 GB, free: 4 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.8253, allocations: 0 / 1.217 GB, free: 4 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.389e-05/0.8253, allocations: 56.16 kB / 1.217 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.8257, allocations: 65.39 kB / 1.217 GB, free: 3.879 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009023/0.8266, allocations: 0.5849 MB / 1.217 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.827, allocations: 0.8143 MB / 1.218 GB, free: 2.418 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001197/0.8271, allocations: 50.25 kB / 1.218 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.082e-05/0.8272, allocations: 27.44 kB / 1.218 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.8272, allocations: 0 / 1.218 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of Templates: time 0.006817/0.834, allocations: 3.679 MB / 1.222 GB, free: 14.73 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & ./Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches