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.001262/0.001262, allocations: 107.2 kB / 15.99 MB, free: 5.895 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.001316/0.001316, allocations: 193.1 kB / 16.91 MB, free: 5.746 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.361/1.361, allocations: 222.9 MB / 240.6 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.721/2.721, allocations: 482.2 MB / 0.7548 GB, free: 7.316 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 65.03 kB / 0.9238 GB, free: 0.5039 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8082/0.8102, allocations: 162.2 MB / 1.082 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.006692/0.8169, allocations: 4.786 MB / 1.087 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.006747/0.8237, allocations: 3.257 MB / 1.09 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001453/0.8252, allocations: 27.12 kB / 1.09 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002053/0.8273, allocations: 0.4906 MB / 1.091 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002298/0.8296, allocations: 0.654 MB / 1.091 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002111/0.8318, allocations: 0.5808 MB / 1.092 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004654/0.8364, allocations: 2.629 MB / 1.094 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006527/0.8371, allocations: 288.5 kB / 1.095 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002027/0.8392, allocations: 0.8414 MB / 1.095 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001966/0.8411, allocations: 0.829 MB / 1.096 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0004672/0.8416, allocations: 87.66 kB / 1.096 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006234/0.8423, allocations: 93.41 kB / 1.096 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0007404/0.843, allocations: 0.5102 MB / 1.097 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001164/0.8442, allocations: 0.7455 MB / 1.098 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001944/0.8461, allocations: 1.332 MB / 1.099 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.8462, allocations: 4 kB / 1.099 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.096e-06/0.8462, allocations: 1.125 kB / 1.099 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.308e-05/0.8462, allocations: 0 / 1.099 GB, free: 8.238 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.004049/0.8503, allocations: 1.937 MB / 1.101 GB, free: 7.023 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.8503, allocations: 9.688 kB / 1.101 GB, free: 7.023 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003229/0.8506, allocations: 169.8 kB / 1.101 GB, free: 6.938 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002038/0.8527, allocations: 1.122 MB / 1.102 GB, free: 6.285 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.614e-05/0.8528, allocations: 58.66 kB / 1.102 GB, free: 6.258 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.8529, allocations: 78.28 kB / 1.102 GB, free: 6.234 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.8541, allocations: 0.5727 MB / 1.103 GB, free: 5.949 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.8541, allocations: 1.281 kB / 1.103 GB, free: 5.949 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.216e-05/0.8541, allocations: 16.36 kB / 1.103 GB, free: 5.938 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.8542, allocations: 12.28 kB / 1.103 GB, free: 5.938 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006831/0.8549, allocations: 358.5 kB / 1.103 GB, free: 5.824 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.005973/0.8608, allocations: 3.877 MB / 1.107 GB, free: 3.004 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001208/0.8621, allocations: 0.5005 MB / 1.107 GB, free: 2.84 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003237/0.8624, allocations: 194.7 kB / 1.108 GB, free: 2.77 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.8624, allocations: 3.844 kB / 1.108 GB, free: 2.77 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.8625, allocations: 36.47 kB / 1.108 GB, free: 2.727 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=30): time 1.913e-06/0.8625, allocations: 4 kB / 1.108 GB, free: 2.723 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30): time 0.002641/0.8651, allocations: 1.081 MB / 1.109 GB, free: 2.137 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.8652, allocations: 58.47 kB / 1.109 GB, free: 2.07 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003016/0.8682, allocations: 1.795 MB / 1.11 GB, free: 1.426 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001279/0.8684, allocations: 45.2 kB / 1.111 GB, free: 1.379 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006445/0.869, allocations: 0.5852 MB / 1.111 GB, free: 0.9219 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001939/0.8692, allocations: 119.3 kB / 1.111 GB, free: 0.8281 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003561/0.8696, allocations: 240.8 kB / 1.111 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000204/0.8698, allocations: 353.5 kB / 1.112 GB, free: 404 kB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005818/0.8704, allocations: 323.2 kB / 1.112 GB, free: 320 kB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.8715, allocations: 0.947 MB / 1.113 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001732/0.8732, allocations: 1.268 MB / 1.114 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.37e-05/0.8732, allocations: 7.094 kB / 1.114 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002642/0.8759, allocations: 1.458 MB / 1.116 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.246e-05/0.8759, allocations: 14.53 kB / 1.116 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.081e-05/0.876, allocations: 25.25 kB / 1.116 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006866/0.8767, allocations: 199.7 kB / 1.116 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007444/0.8774, allocations: 241.7 kB / 1.116 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005291/0.8827, allocations: 5.064 MB / 1.121 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/0.8843, allocations: 185.3 kB / 1.121 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/0.8845, allocations: 60.95 kB / 1.121 GB, free: 8.91 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.0009828/0.8855, allocations: 478.7 kB / 1.122 GB, free: 8.652 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003749/0.8859, allocations: 142.6 kB / 1.122 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003054/0.8862, allocations: 131 kB / 1.122 GB, free: 8.504 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.8862, allocations: 11.58 kB / 1.122 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.47e-05/0.8862, allocations: 2.188 kB / 1.122 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.8862, allocations: 2.203 kB / 1.122 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/0.888, allocations: 0.9383 MB / 1.123 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.888, allocations: 0.9375 kB / 1.123 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/0.8883, allocations: 47.86 kB / 1.123 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005447/0.8888, allocations: 169.2 kB / 1.123 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-05/0.8889, allocations: 13.67 kB / 1.123 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005014/0.8939, allocations: 5.019 MB / 1.128 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.8939, allocations: 1.188 kB / 1.128 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001536/0.8955, allocations: 0.885 MB / 1.129 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007043/0.8962, allocations: 306.7 kB / 1.129 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002717/0.8965, allocations: 10.91 kB / 1.129 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000696/0.8972, allocations: 51.17 kB / 1.129 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.575e-05/0.8973, allocations: 21.97 kB / 1.129 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.8973, allocations: 9.938 kB / 1.129 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002072/0.8994, allocations: 1.218 MB / 1.131 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2e-07/0.8994, allocations: 0 / 1.131 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001578/0.9009, allocations: 386.2 kB / 1.131 GB, free: 1.914 MB / 0.8575 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.0001671/0.9011, allocations: 110.2 kB / 1.131 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001987/0.9031, allocations: 1.142 MB / 1.132 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.9031, allocations: 0 / 1.132 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0008034/0.9039, allocations: 0.5644 MB / 1.133 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/0.9058, allocations: 341.7 kB / 1.133 GB, free: 472 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005166/0.911, allocations: 2.936 MB / 1.136 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/0.9122, allocations: 1.298 MB / 1.137 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000321/0.9125, allocations: 69.81 kB / 1.137 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of SimCode: time 7.12e-07/0.9125, allocations: 4 kB / 1.137 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of Templates: time 0.04746/0.96, allocations: 33.78 MB / 1.17 GB, free: 2.969 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches