Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.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.001824/0.001824, allocations: 105.4 kB / 16.45 MB, free: 6.453 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.001984/0.001984, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.41/1.41, allocations: 230.6 MB / 252.8 MB, free: 8.941 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.036/3.036, allocations: 0.49 GB / 0.7916 GB, free: 33.57 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",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.001981/0.001981, allocations: 73.47 kB / 1.149 GB, free: 26.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3425, allocations: 176.1 MB / 1.321 GB, free: 3.332 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002851/0.3454, allocations: 1.693 MB / 1.322 GB, free: 1.629 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002119/0.3475, allocations: 1.414 MB / 1.324 GB, free: 212 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.264e-05/0.3476, allocations: 7.938 kB / 1.324 GB, free: 204 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0003394/0.3479, allocations: 83.58 kB / 1.324 GB, free: 120 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.348, allocations: 83.52 kB / 1.324 GB, free: 36 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006941/0.3487, allocations: 271.2 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002382/0.349, allocations: 187.2 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.74e-05/0.349, allocations: 9.5 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.3491, allocations: 87.69 kB / 1.325 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.3493, allocations: 87.59 kB / 1.325 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.3493, allocations: 8 kB / 1.325 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005241/0.3498, allocations: 335.5 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.294e-05/0.3499, allocations: 75.66 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.226e-05/0.35, allocations: 91.47 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000521/0.3505, allocations: 390.6 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3505, allocations: 0 / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3505, allocations: 0 / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.3505, allocations: 0 / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0009265/0.3515, allocations: 0.5602 MB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.3515, allocations: 19.92 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.081e-05/0.3515, allocations: 30.75 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.936e-05/0.3516, allocations: 28.73 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004598/0.3521, allocations: 283.8 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.3522, allocations: 67.95 kB / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.3522, allocations: 4.375 kB / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.3524, allocations: 89.59 kB / 1.327 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.3524, allocations: 0 / 1.327 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.3524, allocations: 0 / 1.327 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.3524, allocations: 4 kB / 1.327 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002634/0.3527, allocations: 107.9 kB / 1.327 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003052/0.353, allocations: 253.5 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/0.3544, allocations: 290.4 kB / 1.327 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.3545, allocations: 60.81 kB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001387/0.3547, allocations: 101 kB / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.3547, allocations: 34.56 kB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.3547, allocations: 0 / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0004951/0.3552, allocations: 209.4 kB / 1.328 GB, free: 12.2 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.3552, allocations: 59.34 kB / 1.328 GB, free: 12.12 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003234/0.3555, allocations: 299.2 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.3556, allocations: 25.7 kB / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.482e-05/0.3556, allocations: 128.6 kB / 1.328 GB, free: 11.66 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.261e-05/0.3557, allocations: 23.8 kB / 1.328 GB, free: 11.64 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.952e-05/0.3558, allocations: 57.69 kB / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3559, allocations: 330.8 kB / 1.328 GB, free: 11.24 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/0.3562, allocations: 151.9 kB / 1.329 GB, free: 11.09 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/0.3564, allocations: 163.7 kB / 1.329 GB, free: 10.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004357/0.3568, allocations: 293.4 kB / 1.329 GB, free: 10.64 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3568, allocations: 0 / 1.329 GB, free: 10.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000564/0.3574, allocations: 405.1 kB / 1.329 GB, free: 10.24 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3574, allocations: 4 kB / 1.329 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.3574, allocations: 4 kB / 1.329 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.3574, allocations: 0 / 1.329 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.787e-05/0.3575, allocations: 19.98 kB / 1.329 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3575, allocations: 0 / 1.329 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.3577, allocations: 43.55 kB / 1.329 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.3577, allocations: 4 kB / 1.329 GB, free: 10.17 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001131/0.3578, allocations: 129.8 kB / 1.33 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.896e-05/0.3578, allocations: 23.8 kB / 1.33 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003614/0.3582, allocations: 171.3 kB / 1.33 GB, free: 9.832 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3582, allocations: 0 / 1.33 GB, free: 9.832 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3582, allocations: 0 / 1.33 GB, free: 9.832 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3582, allocations: 8 kB / 1.33 GB, free: 9.824 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.3584, allocations: 237.5 kB / 1.33 GB, free: 9.543 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.3584, allocations: 3.938 kB / 1.33 GB, free: 9.539 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.074e-05/0.3585, allocations: 20.3 kB / 1.33 GB, free: 9.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.3585, allocations: 0 / 1.33 GB, free: 9.52 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.3585, allocations: 0 / 1.33 GB, free: 9.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3585, allocations: 4 kB / 1.33 GB, free: 9.516 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3585, allocations: 0 / 1.33 GB, free: 9.516 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003327/0.3589, allocations: 188.9 kB / 1.33 GB, free: 9.312 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.211e-05/0.359, allocations: 112.8 kB / 1.33 GB, free: 9.184 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.359, allocations: 0 / 1.33 GB, free: 9.184 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.566e-05/0.3591, allocations: 7.984 kB / 1.33 GB, free: 9.176 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.3591, allocations: 0 / 1.33 GB, free: 9.176 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.3591, allocations: 8 kB / 1.33 GB, free: 9.168 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001949/0.3593, allocations: 197.9 kB / 1.331 GB, free: 8.977 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3593, allocations: 0 / 1.331 GB, free: 8.977 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003881/0.3597, allocations: 111.8 kB / 1.331 GB, free: 8.867 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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 0.001061/0.3607, allocations: 0.889 MB / 1.331 GB, free: 7.945 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005129/0.3613, allocations: 311.3 kB / 1.332 GB, free: 7.629 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3613, allocations: 4 kB / 1.332 GB, free: 7.625 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.3614, allocations: 55.91 kB / 1.332 GB, free: 7.57 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.3617, allocations: 36.16 kB / 1.332 GB, free: 7.539 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003131/0.3648, allocations: 2.692 MB / 1.335 GB, free: 4.758 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.3652, allocations: 0.7396 MB / 1.335 GB, free: 3.988 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.504e-05/0.3652, allocations: 17.06 kB / 1.335 GB, free: 3.969 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.435e-05/0.3653, allocations: 59.42 kB / 1.335 GB, free: 3.91 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.3653, allocations: 0 / 1.335 GB, free: 3.91 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03043/0.3958, allocations: 5.839 MB / 1.341 GB, free: 14.25 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.915/8.31, allocations: 5.938 kB / 1.341 GB, free: 14.25 MB / 1.045 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,T,TMonotone,errMonotone,errNonMonotone Variables in the result:T,TExa,TMonotone,TdMonotone[1],TdMonotone[2],TdMonotone[3],TdMonotone[4],TdMonotone[5],TdMonotone[6],Td[1],Td[2],Td[3],Td[4],Td[5],Td[6],dTCha,dT_duMonotone[1],dT_duMonotone[2],dT_duMonotone[3],dT_duMonotone[4],dT_duMonotone[5],dT_duMonotone[6],dT_du[1],dT_du[2],dT_du[3],dT_du[4],dT_du[5],dT_du[6],errMonotone,errNonMonotone,materialMonotone.LHea,materialMonotone.R,materialMonotone.TLiq,materialMonotone.TSol,materialMonotone.c,materialMonotone.d,materialMonotone.k,materialMonotone.nSta,materialMonotone.nStaReal,materialMonotone.nStaRef,materialMonotone.piMat,materialMonotone.piRef,materialMonotone.steadyState,materialMonotone.x,materialNonMonotone.LHea,materialNonMonotone.R,materialNonMonotone.TLiq,materialNonMonotone.TSol,materialNonMonotone.c,materialNonMonotone.d,materialNonMonotone.k,materialNonMonotone.nSta,materialNonMonotone.nStaReal,materialNonMonotone.nStaRef,materialNonMonotone.piMat,materialNonMonotone.piRef,materialNonMonotone.steadyState,materialNonMonotone.x,time,u,udMonotone[1],udMonotone[2],udMonotone[3],udMonotone[4],udMonotone[5],udMonotone[6],ud[1],ud[2],ud[3],ud[4],ud[5],ud[6] [Calling sys.exit(0), Time elapsed: 14.670042329002172]