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.001604/0.001604, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 191.8 kB / 16.53 MB, free: 6.391 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.478/1.478, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.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.691/2.691, allocations: 437 MB / 0.7104 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 67.89 kB / 0.8692 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7018/0.7031, allocations: 151.6 MB / 1.017 GB, free: 2.426 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.006161/0.7093, allocations: 4.786 MB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005352/0.7147, allocations: 3.261 MB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008399/0.7156, allocations: 23.88 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001555/0.7171, allocations: 0.5359 MB / 1.026 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001523/0.7187, allocations: 0.7077 MB / 1.026 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001489/0.7202, allocations: 0.6352 MB / 1.027 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002848/0.7231, allocations: 2.587 MB / 1.029 GB, free: 5.832 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004482/0.7235, allocations: 285.4 kB / 1.03 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00126/0.7248, allocations: 0.8021 MB / 1.031 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001229/0.726, allocations: 0.7821 MB / 1.031 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002562/0.7263, allocations: 88 kB / 1.031 GB, free: 3.867 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003366/0.7267, allocations: 96 kB / 1.031 GB, free: 3.773 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0005243/0.7272, allocations: 0.5024 MB / 1.032 GB, free: 3.27 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0009981/0.7282, allocations: 0.7538 MB / 1.033 GB, free: 2.512 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001683/0.7299, allocations: 1.647 MB / 1.034 GB, free: 0.8594 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.7299, allocations: 8 kB / 1.034 GB, free: 0.8516 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7299, allocations: 0 / 1.034 GB, free: 0.8516 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.539e-05/0.73, allocations: 0 / 1.034 GB, free: 0.8516 MB / 0.7794 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.003871/0.7338, allocations: 1.932 MB / 1.036 GB, free: 14.86 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.7339, allocations: 12.03 kB / 1.036 GB, free: 14.85 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003213/0.7342, allocations: 166.9 kB / 1.036 GB, free: 14.68 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001884/0.7361, allocations: 1.12 MB / 1.037 GB, free: 13.52 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.849e-05/0.7362, allocations: 57.38 kB / 1.038 GB, free: 13.46 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.7363, allocations: 80.38 kB / 1.038 GB, free: 13.38 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008575/0.7372, allocations: 0.5712 MB / 1.038 GB, free: 12.78 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.7372, allocations: 0 / 1.038 GB, free: 12.78 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.403e-05/0.7372, allocations: 20 kB / 1.038 GB, free: 12.76 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.7372, allocations: 12 kB / 1.038 GB, free: 12.75 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006049/0.7379, allocations: 355.7 kB / 1.039 GB, free: 12.4 MB / 0.795 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.005549/0.7434, allocations: 3.882 MB / 1.042 GB, free: 8.207 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.7446, allocations: 0.5026 MB / 1.043 GB, free: 7.695 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002835/0.7448, allocations: 188.7 kB / 1.043 GB, free: 7.508 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.7449, allocations: 4 kB / 1.043 GB, free: 7.504 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.7449, allocations: 42.56 kB / 1.043 GB, free: 7.453 MB / 0.795 GB Notification: Performance of pre-optimization done (n=30): time 2.665e-06/0.7449, allocations: 0 / 1.043 GB, free: 7.453 MB / 0.795 GB Notification: Performance of matching and sorting (n=30): time 0.002255/0.7472, allocations: 1.086 MB / 1.044 GB, free: 6.297 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.7472, allocations: 55.34 kB / 1.044 GB, free: 6.23 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002559/0.7498, allocations: 1.797 MB / 1.046 GB, free: 4.426 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.605e-05/0.7499, allocations: 49.64 kB / 1.046 GB, free: 4.371 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004905/0.7504, allocations: 0.5918 MB / 1.047 GB, free: 3.773 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/0.7505, allocations: 114.4 kB / 1.047 GB, free: 3.66 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003243/0.7509, allocations: 234.9 kB / 1.047 GB, free: 3.422 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001918/0.7511, allocations: 353.9 kB / 1.047 GB, free: 3.07 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000554/0.7516, allocations: 326.4 kB / 1.048 GB, free: 2.754 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009861/0.7526, allocations: 0.948 MB / 1.048 GB, free: 1.492 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00145/0.7541, allocations: 1.275 MB / 1.05 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.464e-05/0.7541, allocations: 8 kB / 1.05 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00233/0.7564, allocations: 1.437 MB / 1.051 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.32e-05/0.7565, allocations: 16 kB / 1.051 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.756e-05/0.7565, allocations: 20 kB / 1.051 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006014/0.7571, allocations: 202.7 kB / 1.051 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006962/0.7578, allocations: 239.5 kB / 1.052 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004166/0.762, allocations: 5.076 MB / 1.057 GB, free: 8.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/0.7632, allocations: 178.4 kB / 1.057 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.061e-05/0.7632, allocations: 60 kB / 1.057 GB, free: 8.246 MB / 0.8106 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.0006328/0.7639, allocations: 481.1 kB / 1.057 GB, free: 7.766 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002788/0.7642, allocations: 134.2 kB / 1.057 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002644/0.7644, allocations: 126.3 kB / 1.057 GB, free: 7.508 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.7644, allocations: 8.062 kB / 1.057 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.404e-05/0.7645, allocations: 4 kB / 1.057 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.7645, allocations: 3.984 kB / 1.057 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.7657, allocations: 0.9369 MB / 1.058 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.7657, allocations: 0 / 1.058 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/0.7659, allocations: 43.91 kB / 1.058 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000477/0.7664, allocations: 166.4 kB / 1.059 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.024e-05/0.7665, allocations: 15.92 kB / 1.059 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004386/0.7708, allocations: 5.024 MB / 1.064 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7709, allocations: 0 / 1.064 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.7723, allocations: 0.9019 MB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005811/0.7729, allocations: 303.2 kB / 1.065 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00023/0.7731, allocations: 11.94 kB / 1.065 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006835/0.7738, allocations: 35.94 kB / 1.065 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.374e-05/0.7739, allocations: 31.97 kB / 1.065 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.7739, allocations: 15.92 kB / 1.065 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001811/0.7758, allocations: 1.212 MB / 1.066 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7758, allocations: 0 / 1.066 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00118/0.777, allocations: 379.6 kB / 1.066 GB, free: 13.91 MB / 0.8262 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.0001633/0.7771, allocations: 119.2 kB / 1.066 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001667/0.7788, allocations: 1.132 MB / 1.068 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7788, allocations: 0 / 1.068 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006746/0.7795, allocations: 0.5676 MB / 1.068 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/0.7809, allocations: 338.5 kB / 1.068 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003542/0.7845, allocations: 2.506 MB / 1.071 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009539/0.7854, allocations: 1.308 MB / 1.072 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0006147/0.7861, allocations: 244.8 kB / 1.072 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.7862, allocations: 67.38 kB / 1.072 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.7862, allocations: 0 / 1.072 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of Templates: time 0.02931/0.8156, allocations: 16.76 MB / 1.089 GB, free: 6.984 MB / 0.8419 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorStepResponse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches