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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 102.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 225.6 MB / 247.8 MB, free: 3.73 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.961/2.961, allocations: 497.2 MB / 0.7812 GB, free: 11.94 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 67.89 kB / 1.134 GB, free: 13.2 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.06/1.062, allocations: 173.9 MB / 1.304 GB, free: 32.13 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002421/1.065, allocations: 1.676 MB / 1.306 GB, free: 30.95 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00175/1.066, allocations: 1.374 MB / 1.307 GB, free: 30.02 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.77e-05/1.066, allocations: 9.625 kB / 1.307 GB, free: 30.01 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003815/1.067, allocations: 80.34 kB / 1.307 GB, free: 29.97 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001265/1.067, allocations: 78.8 kB / 1.307 GB, free: 29.92 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007355/1.068, allocations: 281 kB / 1.307 GB, free: 29.81 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001981/1.068, allocations: 178.5 kB / 1.308 GB, free: 29.74 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.412e-05/1.068, allocations: 14.86 kB / 1.308 GB, free: 29.73 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/1.068, allocations: 82.25 kB / 1.308 GB, free: 29.7 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/1.068, allocations: 91.44 kB / 1.308 GB, free: 29.66 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/1.068, allocations: 8.812 kB / 1.308 GB, free: 29.66 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004535/1.069, allocations: 346.6 kB / 1.308 GB, free: 29.55 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.62e-05/1.069, allocations: 69.89 kB / 1.308 GB, free: 29.53 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.932e-05/1.069, allocations: 90.84 kB / 1.308 GB, free: 29.48 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004284/1.069, allocations: 404.9 kB / 1.309 GB, free: 29.36 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/1.069, allocations: 0 / 1.309 GB, free: 29.36 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.503e-06/1.069, allocations: 0 / 1.309 GB, free: 29.36 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.282e-06/1.069, allocations: 0 / 1.309 GB, free: 29.36 MB / 1.061 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.0007731/1.07, allocations: 0.5558 MB / 1.309 GB, free: 28.88 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/1.07, allocations: 11.19 kB / 1.309 GB, free: 28.88 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.393e-05/1.07, allocations: 38.75 kB / 1.309 GB, free: 28.83 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.967e-05/1.07, allocations: 24.27 kB / 1.309 GB, free: 28.82 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004826/1.071, allocations: 291.7 kB / 1.309 GB, free: 28.56 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/1.071, allocations: 65.08 kB / 1.31 GB, free: 28.5 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/1.071, allocations: 3.812 kB / 1.31 GB, free: 28.5 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/1.071, allocations: 92.3 kB / 1.31 GB, free: 28.45 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/1.071, allocations: 3.984 kB / 1.31 GB, free: 28.45 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/1.071, allocations: 0 / 1.31 GB, free: 28.45 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/1.071, allocations: 0 / 1.31 GB, free: 28.45 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002403/1.071, allocations: 104.6 kB / 1.31 GB, free: 28.43 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002889/1.072, allocations: 258.9 kB / 1.31 GB, free: 28.2 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/1.073, allocations: 288.1 kB / 1.31 GB, free: 28.15 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/1.073, allocations: 58.02 kB / 1.31 GB, free: 28.13 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001471/1.073, allocations: 104.2 kB / 1.31 GB, free: 28.03 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/1.073, allocations: 30.56 kB / 1.31 GB, free: 27.99 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/1.073, allocations: 0 / 1.31 GB, free: 27.99 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0004809/1.074, allocations: 211.6 kB / 1.311 GB, free: 27.92 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/1.074, allocations: 54.09 kB / 1.311 GB, free: 27.86 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/1.074, allocations: 301.6 kB / 1.311 GB, free: 27.7 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/1.074, allocations: 29.64 kB / 1.311 GB, free: 27.66 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.09e-05/1.074, allocations: 129.6 kB / 1.311 GB, free: 27.54 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/1.074, allocations: 22.83 kB / 1.311 GB, free: 27.52 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.867e-05/1.074, allocations: 58.14 kB / 1.311 GB, free: 27.49 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.685e-05/1.074, allocations: 333.9 kB / 1.312 GB, free: 27.17 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/1.075, allocations: 152.5 kB / 1.312 GB, free: 27.13 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/1.075, allocations: 158.5 kB / 1.312 GB, free: 27.09 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003735/1.075, allocations: 299.4 kB / 1.312 GB, free: 26.98 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/1.075, allocations: 0 / 1.312 GB, free: 26.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005272/1.076, allocations: 397.2 kB / 1.312 GB, free: 26.85 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/1.076, allocations: 4.844 kB / 1.313 GB, free: 26.85 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/1.076, allocations: 5.938 kB / 1.313 GB, free: 26.85 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.745e-05/1.076, allocations: 0 / 1.313 GB, free: 26.85 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/1.076, allocations: 17.83 kB / 1.313 GB, free: 26.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/1.076, allocations: 2.719 kB / 1.313 GB, free: 26.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/1.076, allocations: 39.16 kB / 1.313 GB, free: 26.81 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/1.076, allocations: 2.531 kB / 1.313 GB, free: 26.81 MB / 1.061 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.0001436/1.076, allocations: 137.2 kB / 1.313 GB, free: 26.69 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/1.076, allocations: 23.42 kB / 1.313 GB, free: 26.67 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003704/1.076, allocations: 169.6 kB / 1.313 GB, free: 26.61 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/1.076, allocations: 64 / 1.313 GB, free: 26.61 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.077, allocations: 4 kB / 1.313 GB, free: 26.6 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/1.077, allocations: 4 kB / 1.313 GB, free: 26.6 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/1.077, allocations: 230.8 kB / 1.313 GB, free: 26.39 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.077, allocations: 3.938 kB / 1.313 GB, free: 26.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.644e-05/1.077, allocations: 14.97 kB / 1.313 GB, free: 26.39 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/1.077, allocations: 0 / 1.313 GB, free: 26.39 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/1.077, allocations: 4 kB / 1.313 GB, free: 26.38 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/1.077, allocations: 5.688 kB / 1.313 GB, free: 26.38 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/1.077, allocations: 3.938 kB / 1.313 GB, free: 26.38 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002926/1.077, allocations: 184.5 kB / 1.313 GB, free: 26.28 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.231e-05/1.077, allocations: 110 kB / 1.313 GB, free: 26.17 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/1.077, allocations: 0 / 1.313 GB, free: 26.17 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.026e-05/1.077, allocations: 6.031 kB / 1.313 GB, free: 26.17 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.754e-05/1.077, allocations: 3.328 kB / 1.313 GB, free: 26.17 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/1.077, allocations: 7 kB / 1.313 GB, free: 26.16 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001492/1.078, allocations: 199.8 kB / 1.314 GB, free: 26.05 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.078, allocations: 2.594 kB / 1.314 GB, free: 26.05 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004931/1.078, allocations: 115.1 kB / 1.314 GB, free: 26.04 MB / 1.061 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.0008566/1.079, allocations: 0.8852 MB / 1.315 GB, free: 25.37 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004522/1.079, allocations: 316.6 kB / 1.315 GB, free: 25.25 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/1.079, allocations: 0 / 1.315 GB, free: 25.25 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/1.079, allocations: 60.17 kB / 1.315 GB, free: 25.24 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/1.08, allocations: 35.62 kB / 1.315 GB, free: 25.22 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002501/1.082, allocations: 2.693 MB / 1.318 GB, free: 23.63 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001785/1.082, allocations: 0.7395 MB / 1.318 GB, free: 22.93 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.716e-05/1.082, allocations: 16.19 kB / 1.318 GB, free: 22.93 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.776e-05/1.083, allocations: 62.11 kB / 1.318 GB, free: 22.88 MB / 1.061 GB Notification: Performance of SimCode: time 5.41e-07/1.083, allocations: 0 / 1.318 GB, free: 22.88 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03317/1.116, allocations: 5.839 MB / 1.324 GB, free: 22.22 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.515/9.63, allocations: 8.312 kB / 1.324 GB, free: 22.21 MB / 1.061 GB " [Timeout remaining time 290] (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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.062701595947146]