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: translateModel(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TMonotone|errMonotone|errNonMonotone",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u") translateModel(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TMonotone|errMonotone|errNonMonotone",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001887/0.001887, allocations: 193.7 kB / 16.14 MB, free: 6.699 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.453/1.453, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.84/2.84, allocations: 461.9 MB / 0.7342 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 63.56 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3407, allocations: 157.4 MB / 1.052 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.00284/0.3436, allocations: 1.738 MB / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002439/0.3461, allocations: 1.418 MB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.3462, allocations: 4 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004234/0.3467, allocations: 75.66 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.3468, allocations: 75.58 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006655/0.3475, allocations: 222.2 kB / 1.056 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002425/0.3477, allocations: 251.2 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.489e-05/0.3478, allocations: 5.5 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.3479, allocations: 79.62 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.3481, allocations: 103.6 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.815e-05/0.3481, allocations: 4 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005495/0.3487, allocations: 351.4 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.499e-05/0.3488, allocations: 67.78 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.3489, allocations: 91.42 kB / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005282/0.3494, allocations: 394.9 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3495, allocations: 7.922 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3495, allocations: 0 / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.3495, allocations: 0 / 1.057 GB, free: 3.973 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.0009783/0.3505, allocations: 0.5536 MB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3505, allocations: 8.031 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.614e-05/0.3506, allocations: 24.66 kB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004041/0.351, allocations: 275.7 kB / 1.058 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/0.3511, allocations: 63.95 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.3512, allocations: 4.375 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/0.3514, allocations: 85.78 kB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.3514, allocations: 4 kB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.3515, allocations: 7.984 kB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.3515, allocations: 4 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002521/0.3517, allocations: 107.9 kB / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002913/0.352, allocations: 249.3 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.3536, allocations: 294.4 kB / 1.058 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.3537, allocations: 64.83 kB / 1.059 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001521/0.3539, allocations: 105.1 kB / 1.059 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.3539, allocations: 38.44 kB / 1.059 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.984e-06/0.3539, allocations: 0 / 1.059 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0007393/0.3547, allocations: 209.3 kB / 1.059 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.3547, allocations: 51.41 kB / 1.059 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/0.355, allocations: 311 kB / 1.059 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.3551, allocations: 25.7 kB / 1.059 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.028e-05/0.3551, allocations: 120.6 kB / 1.059 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.3552, allocations: 15.66 kB / 1.059 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.643e-05/0.3553, allocations: 65.69 kB / 1.059 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.3554, allocations: 330.8 kB / 1.06 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002602/0.3557, allocations: 155.9 kB / 1.06 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.3559, allocations: 155.9 kB / 1.06 GB, free: 468 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003902/0.3563, allocations: 301.6 kB / 1.06 GB, free: 164 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3563, allocations: 0 / 1.06 GB, free: 164 kB / 0.8106 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006344/0.3569, allocations: 396.7 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.357, allocations: 11.98 kB / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.357, allocations: 0 / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.357, allocations: 4 kB / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.3571, allocations: 12 kB / 1.061 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3571, allocations: 0 / 1.061 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.3573, allocations: 35.58 kB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.3573, allocations: 4 kB / 1.061 GB, free: 15.7 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.000111/0.3574, allocations: 129.8 kB / 1.061 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.3574, allocations: 23.66 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005115/0.358, allocations: 171.5 kB / 1.061 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.358, allocations: 7.984 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.358, allocations: 0 / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.358, allocations: 0 / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.3582, allocations: 233.6 kB / 1.061 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3582, allocations: 0 / 1.061 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.84e-05/0.3583, allocations: 20.25 kB / 1.061 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.3583, allocations: 0 / 1.061 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.3583, allocations: 8 kB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.3583, allocations: 3.984 kB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3583, allocations: 0 / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003211/0.3587, allocations: 184.7 kB / 1.061 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.733e-05/0.3588, allocations: 108.8 kB / 1.062 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.3588, allocations: 0 / 1.062 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.051e-05/0.3589, allocations: 7.984 kB / 1.062 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.3589, allocations: 4 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.359, allocations: 7.922 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001613/0.3591, allocations: 197.9 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3591, allocations: 3.938 kB / 1.062 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000402/0.3595, allocations: 115.9 kB / 1.062 GB, free: 14.4 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.0004903/0.36, allocations: 259.1 kB / 1.062 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005654/0.3606, allocations: 367 kB / 1.063 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3606, allocations: 0 / 1.063 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.3608, allocations: 55.97 kB / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.3611, allocations: 34.83 kB / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006523/0.3617, allocations: 437.9 kB / 1.063 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.3621, allocations: 0.736 MB / 1.064 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.593e-05/0.3622, allocations: 17.08 kB / 1.064 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.879e-05/0.3622, allocations: 15.44 kB / 1.064 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of SimCode: time 1.483e-06/0.3622, allocations: 0 / 1.064 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of Templates: time 0.006338/0.3686, allocations: 3.03 MB / 1.067 GB, free: 9.43 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.makefile (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 & ./Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches