Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001416/0.001416, allocations: 109.6 kB / 16.41 MB, free: 6.406 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.001496/0.001496, allocations: 190.1 kB / 17.34 MB, free: 5.695 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.315/1.315, allocations: 222.9 MB / 241 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.414/2.414, allocations: 437.1 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 67.89 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7718/0.7731, allocations: 151.6 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.006279/0.7794, allocations: 4.793 MB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005297/0.7848, allocations: 3.265 MB / 1.175 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008217/0.7856, allocations: 19.88 kB / 1.175 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001705/0.7873, allocations: 0.5339 MB / 1.176 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001703/0.7891, allocations: 0.7038 MB / 1.176 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001718/0.7908, allocations: 0.6445 MB / 1.177 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003295/0.7941, allocations: 2.589 MB / 1.18 GB, free: 7.211 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005172/0.7947, allocations: 289.4 kB / 1.18 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001447/0.7961, allocations: 0.8216 MB / 1.181 GB, free: 6.09 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001272/0.7974, allocations: 0.7547 MB / 1.181 GB, free: 5.332 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002751/0.7977, allocations: 84 kB / 1.181 GB, free: 5.25 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004006/0.7981, allocations: 92 kB / 1.181 GB, free: 5.16 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005879/0.7987, allocations: 0.5141 MB / 1.182 GB, free: 4.645 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001015/0.7998, allocations: 0.7499 MB / 1.183 GB, free: 3.891 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001732/0.8015, allocations: 1.662 MB / 1.184 GB, free: 2.223 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.8015, allocations: 3.938 kB / 1.184 GB, free: 2.219 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.212e-06/0.8015, allocations: 0 / 1.184 GB, free: 2.219 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.737e-05/0.8016, allocations: 0 / 1.184 GB, free: 2.219 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.004038/0.8056, allocations: 1.936 MB / 1.186 GB, free: 224 kB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.8057, allocations: 8.031 kB / 1.186 GB, free: 216 kB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003398/0.806, allocations: 174.9 kB / 1.186 GB, free: 40 kB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002243/0.8083, allocations: 1.152 MB / 1.188 GB, free: 14.84 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.386e-05/0.8084, allocations: 61.38 kB / 1.188 GB, free: 14.78 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.8085, allocations: 76.38 kB / 1.188 GB, free: 14.71 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009144/0.8094, allocations: 0.5751 MB / 1.188 GB, free: 14.1 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.8095, allocations: 0 / 1.188 GB, free: 14.1 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.146e-05/0.8095, allocations: 16 kB / 1.188 GB, free: 14.08 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.8095, allocations: 16 kB / 1.188 GB, free: 14.07 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006219/0.8102, allocations: 355.7 kB / 1.189 GB, free: 13.72 MB / 0.92 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.005587/0.8158, allocations: 3.858 MB / 1.192 GB, free: 9.551 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.8169, allocations: 0.5026 MB / 1.193 GB, free: 9.039 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002961/0.8172, allocations: 200.7 kB / 1.193 GB, free: 8.84 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.8173, allocations: 4 kB / 1.193 GB, free: 8.836 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.8173, allocations: 30.56 kB / 1.193 GB, free: 8.797 MB / 0.92 GB Notification: Performance of pre-optimization done (n=30): time 2.225e-06/0.8173, allocations: 3.938 kB / 1.193 GB, free: 8.793 MB / 0.92 GB Notification: Performance of matching and sorting (n=30): time 0.002184/0.8195, allocations: 1.091 MB / 1.194 GB, free: 7.629 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.8196, allocations: 59.34 kB / 1.194 GB, free: 7.559 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002739/0.8223, allocations: 1.774 MB / 1.196 GB, free: 5.777 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.463e-05/0.8224, allocations: 45.7 kB / 1.196 GB, free: 5.727 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000514/0.8229, allocations: 0.584 MB / 1.197 GB, free: 5.137 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.8231, allocations: 110.4 kB / 1.197 GB, free: 5.027 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002919/0.8234, allocations: 238.9 kB / 1.197 GB, free: 4.789 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.8235, allocations: 353.9 kB / 1.197 GB, free: 4.438 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005018/0.824, allocations: 326.4 kB / 1.198 GB, free: 4.117 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000931/0.825, allocations: 0.9481 MB / 1.198 GB, free: 2.859 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001449/0.8264, allocations: 1.268 MB / 1.2 GB, free: 1.285 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.5e-05/0.8265, allocations: 8 kB / 1.2 GB, free: 1.277 MB / 0.92 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002475/0.8289, allocations: 1.452 MB / 1.201 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.829, allocations: 12 kB / 1.201 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.942e-05/0.829, allocations: 24 kB / 1.201 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006618/0.8297, allocations: 194.7 kB / 1.201 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007181/0.8304, allocations: 239.5 kB / 1.202 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004438/0.8349, allocations: 5.06 MB / 1.207 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.8362, allocations: 178.5 kB / 1.207 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.8363, allocations: 64.06 kB / 1.207 GB, free: 9.621 MB / 0.9356 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.0007322/0.837, allocations: 485.6 kB / 1.207 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003187/0.8374, allocations: 142.1 kB / 1.207 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002572/0.8376, allocations: 130.3 kB / 1.207 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.8376, allocations: 4 kB / 1.207 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.8376, allocations: 0 / 1.207 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.8377, allocations: 7.984 kB / 1.207 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/0.8389, allocations: 0.9332 MB / 1.208 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.839, allocations: 4 kB / 1.208 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.8392, allocations: 43.91 kB / 1.208 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005442/0.8398, allocations: 162.4 kB / 1.209 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.188e-05/0.8398, allocations: 15.92 kB / 1.209 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004354/0.8442, allocations: 5.025 MB / 1.214 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.8442, allocations: 4.031 kB / 1.214 GB, free: 2.188 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/0.846, allocations: 0.8947 MB / 1.214 GB, free: 1.266 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009232/0.847, allocations: 303.1 kB / 1.215 GB, free: 0.9492 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003068/0.8473, allocations: 11.94 kB / 1.215 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006844/0.848, allocations: 35.94 kB / 1.215 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.465e-05/0.8481, allocations: 27.97 kB / 1.215 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.8481, allocations: 15.98 kB / 1.215 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002195/0.8503, allocations: 1.204 MB / 1.216 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8503, allocations: 0 / 1.216 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001368/0.8517, allocations: 375.7 kB / 1.216 GB, free: 15.29 MB / 0.9512 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.0001473/0.8518, allocations: 115.3 kB / 1.216 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001805/0.8537, allocations: 1.098 MB / 1.218 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.8537, allocations: 0 / 1.218 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0007345/0.8544, allocations: 0.5712 MB / 1.218 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/0.856, allocations: 341.3 kB / 1.218 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003908/0.8599, allocations: 2.517 MB / 1.221 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000979/0.8609, allocations: 1.312 MB / 1.222 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002339/0.8611, allocations: 67.44 kB / 1.222 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of SimCode: time 9.12e-07/0.8611, allocations: 0 / 1.222 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of Templates: time 0.03968/0.9008, allocations: 33.9 MB / 1.255 GB, free: 7.32 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorStepResponse.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorStepResponse.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorStepResponse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorStepResponse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorStepResponse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches