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.001689/0.001689, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002523/0.002523, allocations: 194.8 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.018/3.018, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.338/5.338, allocations: 461.9 MB / 0.7344 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002934/0.002934, allocations: 74.81 kB / 0.8987 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6005/0.6034, allocations: 157.4 MB / 1.052 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.005798/0.6093, allocations: 1.738 MB / 1.054 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003267/0.6126, allocations: 1.379 MB / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001894/0.6129, allocations: 7.938 kB / 1.055 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006752/0.6136, allocations: 75.7 kB / 1.056 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002472/0.6139, allocations: 67.59 kB / 1.056 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.6151, allocations: 247.4 kB / 1.056 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003794/0.6155, allocations: 191.2 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.854e-05/0.6156, allocations: 5.5 kB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.6158, allocations: 83.62 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.616, allocations: 91.67 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.952e-05/0.616, allocations: 15.88 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007852/0.6168, allocations: 335.5 kB / 1.057 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001468/0.617, allocations: 71.72 kB / 1.057 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001662/0.6171, allocations: 87.48 kB / 1.057 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0009383/0.6181, allocations: 406.8 kB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.6181, allocations: 0 / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.076e-06/0.6181, allocations: 0 / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.579e-05/0.6182, allocations: 0 / 1.057 GB, free: 3.82 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.001447/0.6196, allocations: 0.5569 MB / 1.058 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.46e-05/0.6197, allocations: 8.625 kB / 1.058 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.859e-05/0.6198, allocations: 30.75 kB / 1.058 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.6199, allocations: 24.66 kB / 1.058 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006274/0.6205, allocations: 275.6 kB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001607/0.6207, allocations: 63.97 kB / 1.058 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.6207, allocations: 4.375 kB / 1.058 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003145/0.6211, allocations: 101.5 kB / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.6211, allocations: 4 kB / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.6211, allocations: 0 / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.966e-06/0.6211, allocations: 4 kB / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000364/0.6215, allocations: 95.94 kB / 1.058 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004161/0.6219, allocations: 257.3 kB / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002054/0.624, allocations: 298.4 kB / 1.059 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.6242, allocations: 60.83 kB / 1.059 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002213/0.6244, allocations: 101 kB / 1.059 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.6245, allocations: 34.56 kB / 1.059 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 4.108e-06/0.6245, allocations: 0 / 1.059 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0008016/0.6253, allocations: 209.3 kB / 1.059 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.6254, allocations: 51.41 kB / 1.059 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005629/0.626, allocations: 307.1 kB / 1.059 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.749e-05/0.626, allocations: 25.7 kB / 1.059 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.6262, allocations: 120.6 kB / 1.06 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.779e-05/0.6263, allocations: 27.64 kB / 1.06 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.6264, allocations: 61.69 kB / 1.06 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002682/0.6267, allocations: 326.8 kB / 1.06 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004013/0.6271, allocations: 155.9 kB / 1.06 GB, free: 428 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003478/0.6275, allocations: 159.9 kB / 1.06 GB, free: 268 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007249/0.6282, allocations: 293.6 kB / 1.061 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.6283, allocations: 0 / 1.061 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001121/0.6294, allocations: 400.8 kB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/0.6294, allocations: 9.094 kB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.631e-05/0.6295, allocations: 4 kB / 1.061 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.6295, allocations: 0 / 1.061 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.6296, allocations: 19.92 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.6297, allocations: 3.938 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.6299, allocations: 35.53 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.6299, allocations: 4 kB / 1.061 GB, free: 15.5 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 0.0001787/0.6301, allocations: 133.8 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.434e-05/0.6302, allocations: 23.66 kB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005979/0.6308, allocations: 159.5 kB / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.6308, allocations: 0 / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.6308, allocations: 0 / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.6309, allocations: 4.312 kB / 1.061 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003625/0.6312, allocations: 241.6 kB / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.337e-06/0.6313, allocations: 7.938 kB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.6314, allocations: 19.92 kB / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.6314, allocations: 0 / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.6315, allocations: 4 kB / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.6315, allocations: 0 / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6315, allocations: 0 / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005843/0.6321, allocations: 180.8 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.6322, allocations: 112.7 kB / 1.062 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.883e-05/0.6323, allocations: 0 / 1.062 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.6325, allocations: 7.938 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.812e-05/0.6326, allocations: 3.984 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.6326, allocations: 4 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003163/0.6329, allocations: 201.9 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.587e-06/0.6329, allocations: 0 / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0007402/0.6337, allocations: 115.9 kB / 1.062 GB, free: 14.21 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.001806/0.6355, allocations: 0.8852 MB / 1.063 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008095/0.6363, allocations: 363.1 kB / 1.063 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.6363, allocations: 4 kB / 1.063 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002061/0.6366, allocations: 55.97 kB / 1.063 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004828/0.6371, allocations: 40.97 kB / 1.063 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005119/0.6422, allocations: 2.696 MB / 1.066 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004759/0.6427, allocations: 0.7435 MB / 1.067 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000185/0.6429, allocations: 17.03 kB / 1.067 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.6431, allocations: 59.41 kB / 1.067 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of SimCode: time 6.21e-07/0.6431, allocations: 0 / 1.067 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.984/1.627, allocations: 5.598 MB / 1.072 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003648/1.628, allocations: 236.7 kB / 1.073 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.772/6.399, allocations: 0 / 1.073 GB, free: 3.539 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]