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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001644/0.001644, allocations: 102.5 kB / 16.35 MB, free: 5.824 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.001858/0.001858, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.393/2.393, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 68.11 kB / 0.8773 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2728, allocations: 153 MB / 1.027 GB, free: 2.105 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.005903/0.2787, allocations: 4.791 MB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005187/0.2839, allocations: 3.272 MB / 1.035 GB, free: 10.01 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005445/0.2845, allocations: 23.88 kB / 1.035 GB, free: 9.984 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001437/0.286, allocations: 0.54 MB / 1.035 GB, free: 9.441 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001188/0.2872, allocations: 0.696 MB / 1.036 GB, free: 8.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001424/0.2887, allocations: 0.6497 MB / 1.036 GB, free: 8.094 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.002662/0.2913, allocations: 2.579 MB / 1.039 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004156/0.2918, allocations: 293.4 kB / 1.039 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.2928, allocations: 0.8021 MB / 1.04 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008764/0.2937, allocations: 0.7508 MB / 1.041 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001277/0.2938, allocations: 88 kB / 1.041 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001818/0.294, allocations: 92 kB / 1.041 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0005052/0.2945, allocations: 0.5219 MB / 1.041 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0007327/0.2953, allocations: 0.7421 MB / 1.042 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.2967, allocations: 1.662 MB / 1.044 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.2967, allocations: 0 / 1.044 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2967, allocations: 0 / 1.044 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.439e-05/0.2967, allocations: 0 / 1.044 GB, free: 0.5352 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.003115/0.2998, allocations: 1.934 MB / 1.046 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.2999, allocations: 8.031 kB / 1.046 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002564/0.3001, allocations: 170.9 kB / 1.046 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001951/0.3021, allocations: 1.148 MB / 1.047 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.568e-05/0.3022, allocations: 61.38 kB / 1.047 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.3023, allocations: 84.27 kB / 1.047 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007909/0.3031, allocations: 0.5712 MB / 1.048 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.3031, allocations: 3.938 kB / 1.048 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.016e-05/0.3031, allocations: 16 kB / 1.048 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.3032, allocations: 12 kB / 1.048 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005882/0.3038, allocations: 359.6 kB / 1.048 GB, free: 12.04 MB / 0.8262 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.005729/0.3095, allocations: 3.85 MB / 1.052 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.3107, allocations: 0.4987 MB / 1.052 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003352/0.3111, allocations: 201.2 kB / 1.052 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.3111, allocations: 7.938 kB / 1.052 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.3112, allocations: 30.56 kB / 1.053 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 3.576e-06/0.3112, allocations: 0 / 1.053 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.002274/0.3135, allocations: 1.088 MB / 1.054 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.3135, allocations: 59.34 kB / 1.054 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002217/0.3157, allocations: 1.781 MB / 1.055 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.287e-05/0.3158, allocations: 45.7 kB / 1.055 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004545/0.3163, allocations: 0.5879 MB / 1.056 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.3164, allocations: 106.4 kB / 1.056 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002657/0.3167, allocations: 242.8 kB / 1.056 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3168, allocations: 349.9 kB / 1.057 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004735/0.3173, allocations: 326.4 kB / 1.057 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008843/0.3182, allocations: 0.9481 MB / 1.058 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001408/0.3196, allocations: 1.268 MB / 1.059 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.21e-05/0.3197, allocations: 8 kB / 1.059 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002221/0.3219, allocations: 1.449 MB / 1.061 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.3219, allocations: 16.09 kB / 1.061 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.282e-05/0.322, allocations: 24 kB / 1.061 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006052/0.3226, allocations: 206.4 kB / 1.061 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006695/0.3232, allocations: 239.5 kB / 1.061 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004083/0.3273, allocations: 5.06 MB / 1.066 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.3286, allocations: 178.5 kB / 1.066 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.715e-05/0.3287, allocations: 60 kB / 1.066 GB, free: 7.945 MB / 0.8419 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.0006247/0.3293, allocations: 497 kB / 1.067 GB, free: 7.449 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.3295, allocations: 134.2 kB / 1.067 GB, free: 7.316 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001751/0.3297, allocations: 130.3 kB / 1.067 GB, free: 7.184 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.3297, allocations: 11.97 kB / 1.067 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.3297, allocations: 0 / 1.067 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.3297, allocations: 0 / 1.067 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009392/0.3307, allocations: 0.9368 MB / 1.068 GB, free: 6.184 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3307, allocations: 0 / 1.068 GB, free: 6.184 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002292/0.3309, allocations: 43.91 kB / 1.068 GB, free: 6.141 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004381/0.3313, allocations: 170.6 kB / 1.068 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/0.3314, allocations: 11.94 kB / 1.068 GB, free: 5.953 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003935/0.3353, allocations: 5.017 MB / 1.073 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.3353, allocations: 3.984 kB / 1.073 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4511/0.7864, allocations: 0.8782 MB / 1.074 GB, free: 52.14 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007757/0.7873, allocations: 302.6 kB / 1.074 GB, free: 52.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/0.7874, allocations: 16.52 kB / 1.074 GB, free: 52.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005925/0.788, allocations: 39.19 kB / 1.074 GB, free: 52.05 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.7881, allocations: 26.67 kB / 1.074 GB, free: 52.05 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.7882, allocations: 8.312 kB / 1.074 GB, free: 52.05 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001843/0.79, allocations: 1.205 MB / 1.075 GB, free: 51.94 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.79, allocations: 0 / 1.075 GB, free: 51.94 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001201/0.7912, allocations: 379.7 kB / 1.076 GB, free: 51.94 MB / 0.8419 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.0001432/0.7914, allocations: 105.9 kB / 1.076 GB, free: 51.86 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001529/0.7929, allocations: 1.107 MB / 1.077 GB, free: 51.51 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.7929, allocations: 1.344 kB / 1.077 GB, free: 51.51 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006293/0.7936, allocations: 0.5637 MB / 1.077 GB, free: 51.17 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.7949, allocations: 338.5 kB / 1.078 GB, free: 51.16 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003342/0.7983, allocations: 2.475 MB / 1.08 GB, free: 50.11 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008924/0.7992, allocations: 1.307 MB / 1.081 GB, free: 49.32 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0006186/0.7998, allocations: 242.5 kB / 1.082 GB, free: 49.29 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.8, allocations: 64.59 kB / 1.082 GB, free: 49.29 MB / 0.8419 GB Notification: Performance of SimCode: time 4.41e-07/0.8, allocations: 0 / 1.082 GB, free: 49.29 MB / 0.8419 GB Notification: Performance of Templates: time 0.03403/0.834, allocations: 16.66 MB / 1.098 GB, free: 48.05 MB / 0.8419 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches