Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.006165/0.006165, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001456/0.001456, allocations: 186.6 kB / 16.67 MB, free: 5.969 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.492/2.492, allocations: 437 MB / 0.7105 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 59.91 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9196/0.9209, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002742/0.9237, allocations: 1.678 MB / 1.168 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002069/0.9258, allocations: 1.352 MB / 1.17 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.681e-05/0.9259, allocations: 7.938 kB / 1.17 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0003867/0.9263, allocations: 80.56 kB / 1.17 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.9265, allocations: 83.5 kB / 1.17 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006804/0.9272, allocations: 279.9 kB / 1.17 GB, free: 376 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.9274, allocations: 187.1 kB / 1.17 GB, free: 188 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.211e-05/0.9275, allocations: 13.47 kB / 1.17 GB, free: 168 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.9276, allocations: 83.62 kB / 1.17 GB, free: 84 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.9277, allocations: 75.75 kB / 1.17 GB, free: 8 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.609e-05/0.9277, allocations: 11.98 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005438/0.9283, allocations: 347.4 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 9.692e-05/0.9284, allocations: 67.73 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.9286, allocations: 91.47 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005084/0.9291, allocations: 394.6 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.9291, allocations: 7.938 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.724e-06/0.9291, allocations: 0 / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.9291, allocations: 0 / 1.171 GB, free: 15.11 MB / 0.9044 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.0009205/0.93, allocations: 0.5602 MB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.9301, allocations: 8.031 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.651e-05/0.9302, allocations: 24.73 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003951/0.9306, allocations: 291.8 kB / 1.172 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.9307, allocations: 63.95 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.9307, allocations: 4.375 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.9309, allocations: 89.78 kB / 1.172 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.9309, allocations: 4 kB / 1.172 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.9309, allocations: 0 / 1.172 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.931, allocations: 0 / 1.172 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002379/0.9312, allocations: 103.9 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002535/0.9315, allocations: 249.4 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.9328, allocations: 306.3 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.9329, allocations: 56.83 kB / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001285/0.933, allocations: 101.1 kB / 1.173 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.9331, allocations: 34.5 kB / 1.173 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.9331, allocations: 0 / 1.173 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6): time 0.0004678/0.9335, allocations: 209.4 kB / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.9336, allocations: 51.41 kB / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002831/0.9339, allocations: 307.2 kB / 1.174 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.9339, allocations: 25.7 kB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.216e-05/0.934, allocations: 124.6 kB / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.934, allocations: 19.8 kB / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.027e-05/0.9341, allocations: 65.64 kB / 1.174 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.9342, allocations: 334.8 kB / 1.174 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.9345, allocations: 152.2 kB / 1.174 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.9347, allocations: 151.9 kB / 1.174 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004585/0.9351, allocations: 305.4 kB / 1.175 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.9352, allocations: 0 / 1.175 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006038/0.9358, allocations: 400.9 kB / 1.175 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.9358, allocations: 15.94 kB / 1.175 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.9358, allocations: 0 / 1.175 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.9358, allocations: 0 / 1.175 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.18e-05/0.9359, allocations: 15.98 kB / 1.175 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.9359, allocations: 0 / 1.175 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.9361, allocations: 31.72 kB / 1.175 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.9361, allocations: 8 kB / 1.175 GB, free: 10.81 MB / 0.9044 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.0001081/0.9362, allocations: 129.8 kB / 1.175 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.9362, allocations: 23.8 kB / 1.175 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003594/0.9366, allocations: 175.2 kB / 1.175 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.9366, allocations: 4 kB / 1.175 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.9366, allocations: 0 / 1.175 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.9366, allocations: 0 / 1.175 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.9368, allocations: 233.6 kB / 1.176 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.9368, allocations: 4 kB / 1.176 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.68e-05/0.9369, allocations: 19.92 kB / 1.176 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.9369, allocations: 0 / 1.176 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.9369, allocations: 0 / 1.176 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.9369, allocations: 4 kB / 1.176 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.937, allocations: 0 / 1.176 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003194/0.9373, allocations: 196.8 kB / 1.176 GB, free: 9.949 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.641e-05/0.9374, allocations: 104.9 kB / 1.176 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.958e-05/0.9374, allocations: 4 kB / 1.176 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.37e-05/0.9375, allocations: 8.109 kB / 1.176 GB, free: 9.816 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.9375, allocations: 4 kB / 1.176 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.9375, allocations: 4 kB / 1.176 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001724/0.9377, allocations: 197.9 kB / 1.176 GB, free: 9.621 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9377, allocations: 4 kB / 1.176 GB, free: 9.617 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003569/0.9381, allocations: 115.7 kB / 1.176 GB, free: 9.504 MB / 0.9044 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.0004879/0.9386, allocations: 266.8 kB / 1.177 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005507/0.9391, allocations: 359.2 kB / 1.177 GB, free: 8.867 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.9392, allocations: 0 / 1.177 GB, free: 8.867 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.9393, allocations: 59.95 kB / 1.177 GB, free: 8.809 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.9396, allocations: 34.81 kB / 1.177 GB, free: 8.777 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006263/0.9402, allocations: 399.6 kB / 1.177 GB, free: 8.359 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.9405, allocations: 0.7357 MB / 1.178 GB, free: 7.598 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.803e-05/0.9406, allocations: 25 kB / 1.178 GB, free: 7.574 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.698e-05/0.9407, allocations: 15.44 kB / 1.178 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of SimCode: time 2.6e-07/0.9407, allocations: 0 / 1.178 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of Templates: time 0.006716/0.9474, allocations: 3.147 MB / 1.181 GB, free: 4.453 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & ./Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches