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.0009721/0.0009722, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008797/0.0008797, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.165/1.165, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.399/2.399, allocations: 461.9 MB / 0.7346 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001086, allocations: 66.62 kB / 0.8992 GB, free: 36.86 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2403, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.00251/0.2428, allocations: 1.671 MB / 1.055 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001764/0.2446, allocations: 1.387 MB / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.2448, allocations: 4 kB / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003261/0.2451, allocations: 83.58 kB / 1.056 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.2452, allocations: 75.52 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006655/0.2459, allocations: 275.2 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.2461, allocations: 187.2 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.934e-05/0.2462, allocations: 13.48 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.2463, allocations: 75.7 kB / 1.057 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.2464, allocations: 87.59 kB / 1.057 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.2464, allocations: 8 kB / 1.057 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004822/0.2469, allocations: 339.4 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.905e-05/0.247, allocations: 71.78 kB / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.729e-05/0.2471, allocations: 87.47 kB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004706/0.2476, allocations: 398.8 kB / 1.058 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2476, allocations: 0 / 1.058 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2476, allocations: 0 / 1.058 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.2476, allocations: 0 / 1.058 GB, free: 3.52 MB / 0.8106 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.0007682/0.2484, allocations: 0.5529 MB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.2484, allocations: 8.625 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.066e-05/0.2484, allocations: 38.75 kB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.088e-05/0.2485, allocations: 20.66 kB / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.2488, allocations: 275.7 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.603e-05/0.2489, allocations: 67.95 kB / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.2489, allocations: 384 / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.2491, allocations: 93.53 kB / 1.059 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.842e-06/0.2492, allocations: 0 / 1.059 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.2492, allocations: 3.938 kB / 1.059 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.2492, allocations: 0 / 1.059 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002182/0.2494, allocations: 107.9 kB / 1.059 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002238/0.2496, allocations: 249.3 kB / 1.059 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/0.2509, allocations: 302.4 kB / 1.059 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.251, allocations: 60.83 kB / 1.059 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001173/0.2511, allocations: 101 kB / 1.059 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.2512, allocations: 34.5 kB / 1.059 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 3.066e-06/0.2512, allocations: 0 / 1.059 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0004221/0.2516, allocations: 209.3 kB / 1.06 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.2516, allocations: 51.41 kB / 1.06 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.2519, allocations: 307.1 kB / 1.06 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.2519, allocations: 25.7 kB / 1.06 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.988e-05/0.252, allocations: 124.6 kB / 1.06 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.252, allocations: 19.66 kB / 1.06 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.148e-05/0.2521, allocations: 53.69 kB / 1.06 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.2522, allocations: 342.8 kB / 1.06 GB, free: 276 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.2524, allocations: 151.9 kB / 1.061 GB, free: 124 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.2526, allocations: 155.9 kB / 1.061 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003479/0.2529, allocations: 301.6 kB / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.2529, allocations: 256 / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004849/0.2534, allocations: 397 kB / 1.061 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.2534, allocations: 4 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.2535, allocations: 4 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.2535, allocations: 4 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.295e-05/0.2536, allocations: 12 kB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.2536, allocations: 12.12 kB / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.2537, allocations: 31.53 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.2537, allocations: 4 kB / 1.061 GB, free: 15.21 MB / 0.8262 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 9.06e-05/0.2538, allocations: 135.3 kB / 1.062 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.75e-05/0.2538, allocations: 27.64 kB / 1.062 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003155/0.2542, allocations: 163.5 kB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2542, allocations: 0 / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2542, allocations: 0 / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2542, allocations: 0 / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.2543, allocations: 237.6 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-06/0.2544, allocations: 3.938 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.361e-05/0.2544, allocations: 19.94 kB / 1.062 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.2545, allocations: 0 / 1.062 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.2545, allocations: 7.984 kB / 1.062 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.2545, allocations: 0 / 1.062 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2545, allocations: 0 / 1.062 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002837/0.2548, allocations: 184.7 kB / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.745e-05/0.2549, allocations: 104.8 kB / 1.062 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.2549, allocations: 11.97 kB / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.737e-05/0.255, allocations: 7.938 kB / 1.062 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.255, allocations: 4 kB / 1.062 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.255, allocations: 3.984 kB / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001498/0.2552, allocations: 197.9 kB / 1.063 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2552, allocations: 0 / 1.063 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003285/0.2555, allocations: 115.9 kB / 1.063 GB, free: 13.91 MB / 0.8262 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.0008505/0.2564, allocations: 0.8853 MB / 1.063 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004443/0.2568, allocations: 363 kB / 1.064 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.2568, allocations: 4 kB / 1.064 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.257, allocations: 63.95 kB / 1.064 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.2572, allocations: 33.83 kB / 1.064 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002554/0.2598, allocations: 2.662 MB / 1.067 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.26, allocations: 0.7396 MB / 1.067 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.384e-05/0.2601, allocations: 9.094 kB / 1.067 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.049e-05/0.2602, allocations: 62.28 kB / 1.067 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.2602, allocations: 0 / 1.067 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09229/0.3525, allocations: 5.742 MB / 1.073 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.259/8.611, allocations: 20.77 kB / 1.073 GB, free: 3.348 MB / 0.8262 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]