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.001316/0.001316, allocations: 72.45 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.001615/0.001615, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 18.57 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 0.8763/0.8763, allocations: 177.1 MB / 202.8 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.66/1.66, allocations: 377.8 MB / 0.6221 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.9809 GB, free: 2.605 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.167e-05/3.358e-05, allocations: 9.453 kB / 0.9809 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002027/0.00206, allocations: 1.637 MB / 0.9825 GB, free: 0.9492 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001623/0.003683, allocations: 1.285 MB / 0.9838 GB, free: 15.66 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.003784, allocations: 7.938 kB / 0.9838 GB, free: 15.65 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003586/0.004142, allocations: 75.55 kB / 0.9839 GB, free: 15.57 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.004245, allocations: 75.47 kB / 0.9839 GB, free: 15.5 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006575/0.004902, allocations: 289 kB / 0.9842 GB, free: 15.22 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.00509, allocations: 195.1 kB / 0.9844 GB, free: 15.03 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.52e-05/0.005135, allocations: 5.688 kB / 0.9844 GB, free: 15.02 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.005262, allocations: 107.7 kB / 0.9845 GB, free: 14.91 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.031e-05/0.005353, allocations: 71.78 kB / 0.9846 GB, free: 14.84 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.00537, allocations: 12 kB / 0.9846 GB, free: 14.83 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003708/0.005741, allocations: 335.3 kB / 0.9849 GB, free: 14.5 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 8.284e-05/0.005824, allocations: 71.81 kB / 0.985 GB, free: 14.43 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.818e-05/0.005882, allocations: 63.77 kB / 0.985 GB, free: 14.37 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000433/0.006315, allocations: 430.8 kB / 0.9855 GB, free: 13.95 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.006318, allocations: 0 / 0.9855 GB, free: 13.95 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.643e-06/0.00632, allocations: 0 / 0.9855 GB, free: 13.95 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.006324, allocations: 0 / 0.9855 GB, free: 13.95 MB / 0.948 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.0006282/0.006953, allocations: 0.4927 MB / 0.9859 GB, free: 13.43 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.006996, allocations: 8.031 kB / 0.9859 GB, free: 13.42 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.134e-05/0.007027, allocations: 38.75 kB / 0.986 GB, free: 13.37 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.236e-05/0.00707, allocations: 20.8 kB / 0.986 GB, free: 13.35 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/0.007401, allocations: 213.9 kB / 0.9862 GB, free: 13.11 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.007509, allocations: 153 kB / 0.9864 GB, free: 12.93 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.699e-06/0.007519, allocations: 384 / 0.9864 GB, free: 12.93 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.007656, allocations: 86.22 kB / 0.9864 GB, free: 12.84 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.007663, allocations: 4.125 kB / 0.9864 GB, free: 12.84 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.007673, allocations: 3.938 kB / 0.9864 GB, free: 12.84 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.007677, allocations: 0 / 0.9864 GB, free: 12.84 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.007812, allocations: 103.9 kB / 0.9865 GB, free: 12.73 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001871/0.007999, allocations: 220.5 kB / 0.9867 GB, free: 12.48 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006541/0.008653, allocations: 294.3 kB / 0.987 GB, free: 12.18 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.857e-05/0.008722, allocations: 56.83 kB / 0.9871 GB, free: 12.12 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.258e-05/0.008804, allocations: 27.88 kB / 0.9871 GB, free: 12.09 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.008823, allocations: 38.56 kB / 0.9871 GB, free: 12.05 MB / 0.948 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.008824, allocations: 0 / 0.9871 GB, free: 12.05 MB / 0.948 GB Notification: Performance of matching and sorting (n=6): time 0.0002953/0.00912, allocations: 205.4 kB / 0.9873 GB, free: 11.84 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.009148, allocations: 51.41 kB / 0.9874 GB, free: 11.78 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.009333, allocations: 308.4 kB / 0.9877 GB, free: 11.47 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.009346, allocations: 29.7 kB / 0.9877 GB, free: 11.44 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.601e-05/0.009402, allocations: 136.4 kB / 0.9878 GB, free: 11.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.00942, allocations: 11.84 kB / 0.9879 GB, free: 11.29 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.486e-05/0.009475, allocations: 65.64 kB / 0.9879 GB, free: 11.22 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.585e-05/0.009561, allocations: 330.8 kB / 0.9882 GB, free: 10.89 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.00969, allocations: 155.9 kB / 0.9884 GB, free: 10.73 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.009808, allocations: 155.7 kB / 0.9885 GB, free: 10.58 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002287/0.01004, allocations: 295.8 kB / 0.9888 GB, free: 10.29 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.01004, allocations: 0 / 0.9888 GB, free: 10.29 MB / 0.948 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003087/0.01035, allocations: 397.1 kB / 0.9892 GB, free: 9.898 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.01036, allocations: 12 kB / 0.9892 GB, free: 9.887 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.01038, allocations: 3.938 kB / 0.9892 GB, free: 9.883 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.01039, allocations: 0 / 0.9892 GB, free: 9.883 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.753e-05/0.01043, allocations: 19.92 kB / 0.9892 GB, free: 9.863 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.01044, allocations: 0 / 0.9892 GB, free: 9.863 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.834e-05/0.0105, allocations: 39.66 kB / 0.9893 GB, free: 9.824 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.01051, allocations: 4 kB / 0.9893 GB, free: 9.82 MB / 0.948 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 7.637e-05/0.01058, allocations: 125.8 kB / 0.9894 GB, free: 9.688 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.464e-05/0.0106, allocations: 23.86 kB / 0.9894 GB, free: 9.664 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002195/0.01082, allocations: 167.4 kB / 0.9896 GB, free: 9.488 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.01082, allocations: 4 kB / 0.9896 GB, free: 9.484 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.01082, allocations: 4.297 kB / 0.9896 GB, free: 9.48 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.01083, allocations: 0 / 0.9896 GB, free: 9.48 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.01095, allocations: 212.6 kB / 0.9898 GB, free: 9.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.01095, allocations: 0 / 0.9898 GB, free: 9.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.127e-05/0.01099, allocations: 19.98 kB / 0.9898 GB, free: 9.211 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.01099, allocations: 0 / 0.9898 GB, free: 9.211 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.011, allocations: 7.875 kB / 0.9898 GB, free: 9.203 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.011, allocations: 4 kB / 0.9898 GB, free: 9.199 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01101, allocations: 3.938 kB / 0.9898 GB, free: 9.195 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.01119, allocations: 172.9 kB / 0.99 GB, free: 9.008 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.417e-05/0.01123, allocations: 35.8 kB / 0.99 GB, free: 8.973 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.01125, allocations: 15.92 kB / 0.99 GB, free: 8.957 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.635e-05/0.01129, allocations: 8 kB / 0.99 GB, free: 8.949 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.01132, allocations: 3.984 kB / 0.99 GB, free: 8.945 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.01133, allocations: 7.938 kB / 0.99 GB, free: 8.938 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001144/0.01144, allocations: 199.1 kB / 0.9902 GB, free: 8.742 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01144, allocations: 0 / 0.9902 GB, free: 8.742 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000285/0.01173, allocations: 115.7 kB / 0.9903 GB, free: 8.629 MB / 0.948 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.0006935/0.01242, allocations: 0.88 MB / 0.9912 GB, free: 7.723 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003242/0.01275, allocations: 323.1 kB / 0.9915 GB, free: 7.395 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.01275, allocations: 0 / 0.9915 GB, free: 7.395 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.736e-05/0.01282, allocations: 55.97 kB / 0.9916 GB, free: 7.34 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.01302, allocations: 39.75 kB / 0.9916 GB, free: 7.305 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/0.01499, allocations: 2.7 MB / 0.9942 GB, free: 4.516 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.886e-05/0.01508, allocations: 132 kB / 0.9944 GB, free: 4.371 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.71e-05/0.01515, allocations: 21.09 kB / 0.9944 GB, free: 4.352 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.059e-05/0.01522, allocations: 64.47 kB / 0.9945 GB, free: 4.289 MB / 0.948 GB Notification: Performance of SimCode: time 5.01e-07/0.01522, allocations: 0 / 0.9945 GB, free: 4.289 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01709/0.03232, allocations: 6.69 MB / 1.001 GB, free: 13.79 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.466/6.498, allocations: 5.094 kB / 1.001 GB, free: 13.79 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 10.42818212416023]