Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001486/0.001486, allocations: 108.9 kB / 16.27 MB, free: 6.355 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.001804/0.001805, allocations: 190.4 kB / 17.2 MB, free: 5.953 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.474/1.474, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.202/2.202, allocations: 390.3 MB / 0.6653 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.00144, allocations: 65.61 kB / 0.8132 GB, free: 33.05 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2659, allocations: 140.4 MB / 0.9503 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.007022/0.273, allocations: 4.789 MB / 0.9549 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005879/0.2789, allocations: 3.261 MB / 0.9581 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.2799, allocations: 23.88 kB / 0.9581 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001991/0.282, allocations: 0.5244 MB / 0.9586 GB, free: 264 kB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002005/0.2841, allocations: 0.7155 MB / 0.9593 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001877/0.286, allocations: 0.6351 MB / 0.96 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.00354/0.2895, allocations: 2.579 MB / 0.9625 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005578/0.2901, allocations: 301.3 kB / 0.9628 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001519/0.2916, allocations: 0.7943 MB / 0.9635 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001542/0.2932, allocations: 0.7859 MB / 0.9643 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.000367/0.2936, allocations: 88 kB / 0.9644 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005007/0.2941, allocations: 92 kB / 0.9645 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0006892/0.2948, allocations: 0.5102 MB / 0.965 GB, free: 9.742 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001244/0.296, allocations: 0.7499 MB / 0.9657 GB, free: 8.988 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001911/0.2979, allocations: 1.651 MB / 0.9673 GB, free: 7.332 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.298, allocations: 0 / 0.9673 GB, free: 7.332 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.074e-06/0.298, allocations: 0 / 0.9673 GB, free: 7.332 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.286e-05/0.298, allocations: 0 / 0.9673 GB, free: 7.332 MB / 0.7481 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.003952/0.302, allocations: 1.932 MB / 0.9692 GB, free: 5.34 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.3021, allocations: 12.03 kB / 0.9692 GB, free: 5.328 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003709/0.3024, allocations: 170.9 kB / 0.9694 GB, free: 5.16 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00217/0.3046, allocations: 1.117 MB / 0.9705 GB, free: 3.996 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.667e-05/0.3047, allocations: 57.38 kB / 0.9705 GB, free: 3.941 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.3048, allocations: 80.38 kB / 0.9706 GB, free: 3.863 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009356/0.3058, allocations: 0.5634 MB / 0.9712 GB, free: 3.262 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.3058, allocations: 3.938 kB / 0.9712 GB, free: 3.258 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.442e-05/0.3058, allocations: 27.94 kB / 0.9712 GB, free: 3.23 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.3059, allocations: 12 kB / 0.9712 GB, free: 3.219 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006142/0.3065, allocations: 355.6 kB / 0.9715 GB, free: 2.871 MB / 0.7481 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.005603/0.3121, allocations: 3.882 MB / 0.9753 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.3133, allocations: 0.5085 MB / 0.9758 GB, free: 14.16 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002873/0.3136, allocations: 192.7 kB / 0.976 GB, free: 13.97 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.3136, allocations: 4 kB / 0.976 GB, free: 13.96 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.3136, allocations: 38.56 kB / 0.9761 GB, free: 13.92 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=30): time 2.926e-06/0.3137, allocations: 0 / 0.9761 GB, free: 13.92 MB / 0.7637 GB Notification: Performance of matching and sorting (n=30): time 0.002207/0.3159, allocations: 1.078 MB / 0.9771 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.3159, allocations: 67.27 kB / 0.9772 GB, free: 12.69 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002808/0.3187, allocations: 1.797 MB / 0.9789 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 6.866e-05/0.3188, allocations: 45.7 kB / 0.979 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005681/0.3194, allocations: 0.5879 MB / 0.9795 GB, free: 10.24 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/0.3196, allocations: 118.3 kB / 0.9797 GB, free: 10.12 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003106/0.3199, allocations: 234.8 kB / 0.9799 GB, free: 9.891 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.32, allocations: 349.9 kB / 0.9802 GB, free: 9.543 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005234/0.3206, allocations: 326.4 kB / 0.9805 GB, free: 9.223 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009403/0.3215, allocations: 0.9442 MB / 0.9814 GB, free: 7.973 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.323, allocations: 1.271 MB / 0.9827 GB, free: 6.395 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.51e-05/0.323, allocations: 8 kB / 0.9827 GB, free: 6.387 MB / 0.7637 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002508/0.3255, allocations: 1.449 MB / 0.9841 GB, free: 4.922 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.704e-05/0.3256, allocations: 20.09 kB / 0.9841 GB, free: 4.902 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.665e-05/0.3256, allocations: 24 kB / 0.9842 GB, free: 4.879 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000666/0.3263, allocations: 190.4 kB / 0.9843 GB, free: 4.684 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007184/0.327, allocations: 235.6 kB / 0.9846 GB, free: 4.453 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00444/0.3315, allocations: 5.075 MB / 0.9895 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/0.3328, allocations: 174.5 kB / 0.9897 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-05/0.3329, allocations: 60 kB / 0.9897 GB, free: 14.73 MB / 0.7794 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.0006974/0.3336, allocations: 489 kB / 0.9902 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003449/0.3339, allocations: 138.2 kB / 0.9903 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002645/0.3342, allocations: 134.3 kB / 0.9905 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.3342, allocations: 0 / 0.9905 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/0.3342, allocations: 4 kB / 0.9905 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3342, allocations: 0 / 0.9905 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.3356, allocations: 0.9369 MB / 0.9914 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3356, allocations: 4 kB / 0.9914 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002399/0.3359, allocations: 40.16 kB / 0.9914 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005145/0.3364, allocations: 178.4 kB / 0.9916 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/0.3364, allocations: 11.94 kB / 0.9916 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004217/0.3407, allocations: 5.012 MB / 0.9965 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3407, allocations: 7.922 kB / 0.9965 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.3421, allocations: 0.8902 MB / 0.9974 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005784/0.3427, allocations: 303.2 kB / 0.9977 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002587/0.3429, allocations: 15.94 kB / 0.9977 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006742/0.3436, allocations: 43.92 kB / 0.9977 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.038e-05/0.3437, allocations: 27.91 kB / 0.9978 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.3437, allocations: 8 kB / 0.9978 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001967/0.3457, allocations: 1.216 MB / 0.9989 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.81e-07/0.3457, allocations: 3.938 kB / 0.999 GB, free: 4.754 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001354/0.3471, allocations: 383.5 kB / 0.9993 GB, free: 4.379 MB / 0.7794 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.0001765/0.3473, allocations: 107.2 kB / 0.9994 GB, free: 4.266 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001889/0.3492, allocations: 1.137 MB / 1.001 GB, free: 3.094 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3492, allocations: 4 kB / 1.001 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007251/0.3499, allocations: 0.5628 MB / 1.001 GB, free: 2.488 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/0.3515, allocations: 344.5 kB / 1.001 GB, free: 2.152 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004207/0.3558, allocations: 2.549 MB / 1.004 GB, free: 15.57 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/0.3568, allocations: 1.3 MB / 1.005 GB, free: 14.24 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000247/0.3571, allocations: 71.38 kB / 1.005 GB, free: 14.17 MB / 0.795 GB Notification: Performance of SimCode: time 1.012e-06/0.3571, allocations: 4 kB / 1.005 GB, free: 14.16 MB / 0.795 GB Notification: Performance of Templates: time 0.04168/0.3988, allocations: 33.77 MB / 1.038 GB, free: 12.48 MB / 0.8262 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorStepResponse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches