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.0008966/0.0008968, allocations: 96.78 kB / 15.36 MB, free: 0.7344 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.007103/0.007103, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.464/1.464, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.65/2.65, allocations: 437.8 MB / 0.7121 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004489/0.0004489, allocations: 8 kB / 0.8728 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.825/0.8255, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.004699/0.8302, allocations: 4.392 MB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005189/0.8355, allocations: 3.244 MB / 1.03 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006488/0.8362, allocations: 23.81 kB / 1.03 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.8375, allocations: 493.6 kB / 1.031 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001342/0.8389, allocations: 0.6691 MB / 1.032 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.8402, allocations: 0.5498 MB / 1.032 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003205/0.8434, allocations: 3.017 MB / 1.035 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004299/0.8439, allocations: 264.6 kB / 1.035 GB, free: 3.191 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001244/0.8451, allocations: 0.7121 MB / 1.036 GB, free: 2.477 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001022/0.8462, allocations: 0.7781 MB / 1.037 GB, free: 1.695 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.8463, allocations: 48 kB / 1.037 GB, free: 1.648 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.8465, allocations: 56 kB / 1.037 GB, free: 1.594 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004537/0.8469, allocations: 470.5 kB / 1.037 GB, free: 1.133 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0006806/0.8476, allocations: 0.7126 MB / 1.038 GB, free: 420 kB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.8489, allocations: 1.588 MB / 1.04 GB, free: 14.82 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.8489, allocations: 0 / 1.04 GB, free: 14.82 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.863e-06/0.8489, allocations: 0 / 1.04 GB, free: 14.82 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.441e-05/0.8489, allocations: 0 / 1.04 GB, free: 14.82 MB / 0.795 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.003036/0.8519, allocations: 1.711 MB / 1.041 GB, free: 13.05 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.852, allocations: 8.031 kB / 1.041 GB, free: 13.04 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002234/0.8522, allocations: 170.9 kB / 1.041 GB, free: 12.87 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001911/0.8541, allocations: 1.113 MB / 1.043 GB, free: 11.71 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.958e-05/0.8542, allocations: 57.38 kB / 1.043 GB, free: 11.66 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.8543, allocations: 88.22 kB / 1.043 GB, free: 11.57 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009411/0.8553, allocations: 0.5673 MB / 1.043 GB, free: 10.96 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.8553, allocations: 4 kB / 1.043 GB, free: 10.96 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.271e-05/0.8554, allocations: 20 kB / 1.043 GB, free: 10.94 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.8554, allocations: 19.98 kB / 1.043 GB, free: 10.92 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006689/0.8561, allocations: 355.7 kB / 1.044 GB, free: 10.57 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.005177/0.8612, allocations: 3.893 MB / 1.047 GB, free: 6.371 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/0.8625, allocations: 0.5104 MB / 1.048 GB, free: 5.852 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002925/0.8628, allocations: 196.7 kB / 1.048 GB, free: 5.656 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.8628, allocations: 4 kB / 1.048 GB, free: 5.652 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.8629, allocations: 30.56 kB / 1.048 GB, free: 5.613 MB / 0.795 GB Notification: Performance of pre-optimization done (n=30): time 1.963e-06/0.8629, allocations: 4 kB / 1.048 GB, free: 5.609 MB / 0.795 GB Notification: Performance of matching and sorting (n=30): time 0.002514/0.8654, allocations: 1.096 MB / 1.049 GB, free: 4.441 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.8654, allocations: 55.34 kB / 1.049 GB, free: 4.375 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002555/0.868, allocations: 1.801 MB / 1.051 GB, free: 2.566 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.8681, allocations: 45.7 kB / 1.051 GB, free: 2.516 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005222/0.8686, allocations: 0.584 MB / 1.052 GB, free: 1.926 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.8688, allocations: 114.4 kB / 1.052 GB, free: 1.812 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/0.869, allocations: 129.6 kB / 1.052 GB, free: 1.68 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.8691, allocations: 357.9 kB / 1.052 GB, free: 1.324 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005178/0.8696, allocations: 326.4 kB / 1.052 GB, free: 1.004 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009395/0.8706, allocations: 0.9442 MB / 1.053 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00145/0.8721, allocations: 1.279 MB / 1.055 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.284e-05/0.8721, allocations: 8 kB / 1.055 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002528/0.8746, allocations: 1.452 MB / 1.056 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.484e-05/0.8747, allocations: 16 kB / 1.056 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.57e-05/0.8747, allocations: 27.94 kB / 1.056 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006312/0.8753, allocations: 194.6 kB / 1.056 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006805/0.876, allocations: 239.6 kB / 1.057 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004846/0.8809, allocations: 4.709 MB / 1.061 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002141/0.8831, allocations: 182.5 kB / 1.061 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.8832, allocations: 60 kB / 1.061 GB, free: 6.867 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.001007/0.8842, allocations: 491.7 kB / 1.062 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003418/0.8845, allocations: 138.2 kB / 1.062 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002466/0.8848, allocations: 130.4 kB / 1.062 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.8848, allocations: 4 kB / 1.062 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-05/0.8848, allocations: 0 / 1.062 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.8848, allocations: 0 / 1.062 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/0.8863, allocations: 0.9485 MB / 1.063 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.8863, allocations: 0 / 1.063 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002718/0.8866, allocations: 47.91 kB / 1.063 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000548/0.8871, allocations: 166.4 kB / 1.063 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.368e-05/0.8872, allocations: 8 kB / 1.063 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004474/0.8916, allocations: 4.658 MB / 1.068 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.8917, allocations: 4.125 kB / 1.068 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.8932, allocations: 0.9035 MB / 1.069 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006622/0.8939, allocations: 307.1 kB / 1.069 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.894, allocations: 8 kB / 1.069 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006159/0.8946, allocations: 47.92 kB / 1.069 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.8947, allocations: 23.97 kB / 1.069 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.8948, allocations: 8 kB / 1.069 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00205/0.8968, allocations: 1.223 MB / 1.07 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.91e-07/0.8968, allocations: 0 / 1.07 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001531/0.8984, allocations: 387.6 kB / 1.071 GB, free: 12.89 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.0001998/0.8986, allocations: 103.2 kB / 1.071 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001824/0.9004, allocations: 1.117 MB / 1.072 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.9004, allocations: 3.938 kB / 1.072 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007092/0.9012, allocations: 0.5671 MB / 1.072 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/0.9026, allocations: 325.4 kB / 1.073 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003766/0.9064, allocations: 2.968 MB / 1.076 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009465/0.9074, allocations: 1.312 MB / 1.077 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0006868/0.9081, allocations: 240.8 kB / 1.077 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.9083, allocations: 63.44 kB / 1.077 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of SimCode: time 8.11e-07/0.9083, allocations: 0 / 1.077 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of Templates: time 0.0296/0.9379, allocations: 15.9 MB / 1.093 GB, free: 6.379 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