Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.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 12.0.0-master/package.mo", uses=false) 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: translateModel(Buildings.HeatTransfer.Examples.ConductorStepResponse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.port_a.Q_flow|con1.port_a.Q_flow|con.T.1.|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse") translateModel(Buildings.HeatTransfer.Examples.ConductorStepResponse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.port_a.Q_flow|con1.port_a.Q_flow|con.T.1.|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002157/0.002157, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.432/1.432, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.967/2.967, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 65.09 kB / 0.9114 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3638, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.006571/0.3704, allocations: 4.776 MB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006497/0.3769, allocations: 3.307 MB / 1.075 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.378, allocations: 19.88 kB / 1.075 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002078/0.3801, allocations: 481.6 kB / 1.076 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001885/0.382, allocations: 0.6769 MB / 1.077 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.3837, allocations: 0.5532 MB / 1.077 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004196/0.3879, allocations: 3.012 MB / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005276/0.3885, allocations: 276.5 kB / 1.08 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00162/0.3901, allocations: 0.7278 MB / 1.081 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001545/0.3917, allocations: 0.7898 MB / 1.082 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002925/0.392, allocations: 56 kB / 1.082 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003834/0.3924, allocations: 60 kB / 1.082 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0006251/0.393, allocations: 486.4 kB / 1.082 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.00121/0.3942, allocations: 0.6992 MB / 1.083 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001881/0.3961, allocations: 1.615 MB / 1.085 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3962, allocations: 0 / 1.085 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3962, allocations: 0 / 1.085 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.135e-05/0.3962, allocations: 0 / 1.085 GB, free: 9.352 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.004173/0.4004, allocations: 1.932 MB / 1.087 GB, free: 7.363 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.4005, allocations: 12.03 kB / 1.087 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004624/0.4009, allocations: 170.9 kB / 1.087 GB, free: 7.184 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002037/0.403, allocations: 1.12 MB / 1.088 GB, free: 6.016 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.655e-05/0.403, allocations: 57.38 kB / 1.088 GB, free: 5.957 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.4032, allocations: 84.38 kB / 1.088 GB, free: 5.875 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009834/0.4042, allocations: 0.5595 MB / 1.088 GB, free: 5.281 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.4042, allocations: 0 / 1.088 GB, free: 5.281 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.349e-05/0.4042, allocations: 24 kB / 1.088 GB, free: 5.258 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.4042, allocations: 12 kB / 1.088 GB, free: 5.246 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006422/0.4049, allocations: 359.6 kB / 1.089 GB, free: 4.895 MB / 0.8419 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005459/0.4104, allocations: 3.874 MB / 1.093 GB, free: 0.7109 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/0.4115, allocations: 0.5026 MB / 1.093 GB, free: 204 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002932/0.4118, allocations: 192.8 kB / 1.093 GB, free: 8 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.41e-05/0.4119, allocations: 8 kB / 1.093 GB, free: 0 / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.4119, allocations: 30.69 kB / 1.093 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=30): time 1.523e-06/0.4119, allocations: 3.938 kB / 1.093 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30): time 0.00226/0.4142, allocations: 1.089 MB / 1.094 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.4143, allocations: 63.34 kB / 1.094 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002495/0.4168, allocations: 1.801 MB / 1.096 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.617e-05/0.4168, allocations: 49.64 kB / 1.096 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000593/0.4174, allocations: 0.5802 MB / 1.097 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/0.4176, allocations: 110.4 kB / 1.097 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002926/0.4179, allocations: 238.8 kB / 1.097 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002327/0.4181, allocations: 345.9 kB / 1.098 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005115/0.4186, allocations: 330.4 kB / 1.098 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009499/0.4196, allocations: 0.9403 MB / 1.099 GB, free: 10 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/0.4211, allocations: 1.283 MB / 1.1 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.468e-05/0.4211, allocations: 4 kB / 1.1 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00256/0.4237, allocations: 1.449 MB / 1.101 GB, free: 6.945 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.4237, allocations: 13.97 kB / 1.101 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.891e-05/0.4237, allocations: 28 kB / 1.101 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006228/0.4244, allocations: 194.4 kB / 1.102 GB, free: 6.707 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007425/0.4251, allocations: 239.6 kB / 1.102 GB, free: 6.473 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004264/0.4294, allocations: 4.709 MB / 1.106 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/0.4306, allocations: 182.6 kB / 1.107 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-05/0.4307, allocations: 60 kB / 1.107 GB, free: 1.125 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * 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 (122): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006079/0.4313, allocations: 481.1 kB / 1.107 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002388/0.4316, allocations: 138.2 kB / 1.107 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002197/0.4318, allocations: 130.4 kB / 1.107 GB, free: 388 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.4318, allocations: 0 / 1.107 GB, free: 388 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.4318, allocations: 4 kB / 1.107 GB, free: 384 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.4318, allocations: 4 kB / 1.107 GB, free: 380 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.433, allocations: 0.9484 MB / 1.108 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.433, allocations: 4 kB / 1.108 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002299/0.4332, allocations: 35.97 kB / 1.108 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000516/0.4338, allocations: 170.4 kB / 1.109 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.589e-05/0.4338, allocations: 8 kB / 1.109 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003875/0.4377, allocations: 4.658 MB / 1.113 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4377, allocations: 0 / 1.113 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.439, allocations: 0.8949 MB / 1.114 GB, free: 9.164 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004572/0.4395, allocations: 307.1 kB / 1.114 GB, free: 8.844 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/0.4397, allocations: 8 kB / 1.114 GB, free: 8.836 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006085/0.4403, allocations: 43.92 kB / 1.114 GB, free: 8.793 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.07e-05/0.4404, allocations: 23.97 kB / 1.114 GB, free: 8.77 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.4404, allocations: 4 kB / 1.114 GB, free: 8.766 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001719/0.4421, allocations: 1.227 MB / 1.116 GB, free: 7.543 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.91e-07/0.4422, allocations: 0 / 1.116 GB, free: 7.543 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001161/0.4433, allocations: 391.5 kB / 1.116 GB, free: 7.16 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (conMul.lay[2].T[1],conMul.lay[2].T[2],con2.T[1],con2.T[2]) * 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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001278/0.4435, allocations: 109.9 kB / 1.116 GB, free: 7.047 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001659/0.4451, allocations: 1.114 MB / 1.117 GB, free: 5.902 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4451, allocations: 4.25 kB / 1.117 GB, free: 5.898 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007039/0.4458, allocations: 0.5584 MB / 1.118 GB, free: 5.301 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/0.4473, allocations: 324.3 kB / 1.118 GB, free: 4.984 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003612/0.4509, allocations: 2.879 MB / 1.121 GB, free: 2.074 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009041/0.4518, allocations: 1.304 MB / 1.122 GB, free: 0.7383 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0006119/0.4524, allocations: 244.8 kB / 1.122 GB, free: 0.4961 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.4526, allocations: 63.44 kB / 1.122 GB, free: 448 kB / 0.8731 GB Notification: Performance of SimCode: time 3.5e-07/0.4526, allocations: 4 kB / 1.122 GB, free: 444 kB / 0.8731 GB Notification: Performance of Templates: time 0.02702/0.4797, allocations: 16.09 MB / 1.138 GB, free: 0.5742 MB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorStepResponse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches