Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.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: "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007926/0.007926, allocations: 101.8 kB / 15.73 MB, free: 6.012 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.00183/0.00183, allocations: 196.8 kB / 16.67 MB, free: 5.949 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.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.126/3.126, allocations: 461.9 MB / 0.7348 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 63.91 kB / 1.054 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3504, allocations: 157.4 MB / 1.207 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.003657/0.3541, allocations: 1.666 MB / 1.209 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002515/0.3566, allocations: 1.375 MB / 1.21 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001812/0.3569, allocations: 7.938 kB / 1.21 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004779/0.3574, allocations: 83.58 kB / 1.21 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002095/0.3576, allocations: 75.52 kB / 1.21 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009559/0.3586, allocations: 279.2 kB / 1.211 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002955/0.3589, allocations: 179.3 kB / 1.211 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.164e-05/0.359, allocations: 21.42 kB / 1.211 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001803/0.3592, allocations: 79.69 kB / 1.211 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.3593, allocations: 87.59 kB / 1.211 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.3594, allocations: 8 kB / 1.211 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006421/0.36, allocations: 335.4 kB / 1.211 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.3601, allocations: 67.78 kB / 1.211 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.3603, allocations: 95.42 kB / 1.211 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006455/0.3609, allocations: 394.9 kB / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3609, allocations: 0 / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3609, allocations: 0 / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.3609, allocations: 4 kB / 1.212 GB, free: 5.336 MB / 0.9669 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.001039/0.362, allocations: 0.5567 MB / 1.212 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.362, allocations: 8.625 kB / 1.212 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.398e-05/0.3621, allocations: 34.75 kB / 1.212 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.102e-05/0.3622, allocations: 28.66 kB / 1.212 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004759/0.3627, allocations: 275.7 kB / 1.213 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.3628, allocations: 63.95 kB / 1.213 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.3628, allocations: 384 / 1.213 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.363, allocations: 97.59 kB / 1.213 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3631, allocations: 0 / 1.213 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.3631, allocations: 3.938 kB / 1.213 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3631, allocations: 0 / 1.213 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002444/0.3633, allocations: 99.92 kB / 1.213 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003124/0.3637, allocations: 261.3 kB / 1.213 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/0.365, allocations: 302.3 kB / 1.214 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.3652, allocations: 60.81 kB / 1.214 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001576/0.3653, allocations: 101 kB / 1.214 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.3654, allocations: 30.56 kB / 1.214 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 2.675e-06/0.3654, allocations: 4 kB / 1.214 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0005478/0.3659, allocations: 209.3 kB / 1.214 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.366, allocations: 51.41 kB / 1.214 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003065/0.3663, allocations: 299.2 kB / 1.214 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.3663, allocations: 29.7 kB / 1.214 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.802e-05/0.3664, allocations: 128.5 kB / 1.214 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.3665, allocations: 19.75 kB / 1.214 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.35e-05/0.3665, allocations: 57.59 kB / 1.214 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.3667, allocations: 334.8 kB / 1.215 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/0.3669, allocations: 151.9 kB / 1.215 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.3671, allocations: 163.9 kB / 1.215 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004191/0.3676, allocations: 297.3 kB / 1.215 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.3676, allocations: 0 / 1.215 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005806/0.3682, allocations: 397.1 kB / 1.216 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.3682, allocations: 9.391 kB / 1.216 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.3682, allocations: 0 / 1.216 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.3683, allocations: 4 kB / 1.216 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.703e-05/0.3684, allocations: 8 kB / 1.216 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3684, allocations: 4 kB / 1.216 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.3685, allocations: 35.52 kB / 1.216 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.3685, allocations: 4 kB / 1.216 GB, free: 1.02 MB / 0.9669 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.0001221/0.3687, allocations: 133.8 kB / 1.216 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/0.3687, allocations: 27.56 kB / 1.216 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003708/0.3691, allocations: 167.7 kB / 1.216 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3691, allocations: 0 / 1.216 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.3691, allocations: 8.062 kB / 1.216 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3691, allocations: 0 / 1.216 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.3693, allocations: 237.6 kB / 1.216 GB, free: 400 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.3693, allocations: 3.938 kB / 1.216 GB, free: 396 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.605e-05/0.3694, allocations: 12 kB / 1.216 GB, free: 384 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.3694, allocations: 0 / 1.216 GB, free: 384 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.3695, allocations: 11.92 kB / 1.216 GB, free: 372 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.3695, allocations: 3.938 kB / 1.216 GB, free: 368 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3695, allocations: 0 / 1.216 GB, free: 368 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003282/0.3698, allocations: 176.8 kB / 1.217 GB, free: 172 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.3699, allocations: 108.8 kB / 1.217 GB, free: 44 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.37, allocations: 0 / 1.217 GB, free: 44 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.183e-05/0.3701, allocations: 7.984 kB / 1.217 GB, free: 36 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/0.3701, allocations: 15.94 kB / 1.217 GB, free: 20 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.3701, allocations: 3.984 kB / 1.217 GB, free: 16 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002034/0.3703, allocations: 193.9 kB / 1.217 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3703, allocations: 0 / 1.217 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004439/0.3708, allocations: 123.9 kB / 1.217 GB, free: 15.7 MB / 0.9825 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.001228/0.372, allocations: 0.8774 MB / 1.218 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000551/0.3726, allocations: 355.3 kB / 1.218 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3726, allocations: 0 / 1.218 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.3728, allocations: 67.89 kB / 1.218 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.3731, allocations: 35.25 kB / 1.218 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003327/0.3764, allocations: 2.684 MB / 1.221 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.3768, allocations: 0.7357 MB / 1.222 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000108/0.3769, allocations: 25 kB / 1.222 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.3771, allocations: 59.42 kB / 1.222 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of SimCode: time 3.096e-06/0.3771, allocations: 0 / 1.222 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02922/0.4063, allocations: 5.861 MB / 1.227 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.14/8.547, allocations: 7.797 kB / 1.227 GB, free: 5.031 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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]