Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 80.2 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002047/0.002047, allocations: 172.6 kB / 22.46 MB, free: 5.352 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.517/1.517, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.954/2.954, allocations: 377.8 MB / 0.6221 GB, free: 12.63 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.797e-06/3.797e-06, allocations: 4 kB / 0.9814 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.851e-05, allocations: 2.281 kB / 0.9814 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005429/0.005458, allocations: 3.447 MB / 0.9848 GB, free: 7.492 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005363/0.01082, allocations: 2.423 MB / 0.9871 GB, free: 5.062 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007302/0.01155, allocations: 19.81 kB / 0.9872 GB, free: 5.043 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0009737/0.01252, allocations: 250.3 kB / 0.9874 GB, free: 4.797 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001699/0.01422, allocations: 0.5441 MB / 0.9879 GB, free: 4.25 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.01585, allocations: 0.5685 MB / 0.9885 GB, free: 3.684 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002071/0.01792, allocations: 1.433 MB / 0.9899 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002627/0.01818, allocations: 105.7 kB / 0.99 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001486/0.01967, allocations: 0.5924 MB / 0.9906 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009015/0.02057, allocations: 426.8 kB / 0.991 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001118/0.02068, allocations: 56 kB / 0.991 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002161/0.0209, allocations: 63.98 kB / 0.9911 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005106/0.02141, allocations: 414.9 kB / 0.9915 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004391/0.02185, allocations: 319.2 kB / 0.9918 GB, free: 300 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.02303, allocations: 0.9343 MB / 0.9927 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.02303, allocations: 0 / 0.9927 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.52e-07/0.02303, allocations: 0 / 0.9927 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.115e-05/0.02305, allocations: 0 / 0.9927 GB, free: 15.36 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002552/0.0256, allocations: 1.232 MB / 0.9939 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.02563, allocations: 8.031 kB / 0.9939 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003145/0.02595, allocations: 112.3 kB / 0.994 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.02705, allocations: 0.6098 MB / 0.9946 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.947e-05/0.02709, allocations: 41.03 kB / 0.9947 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.647e-05/0.02717, allocations: 60.36 kB / 0.9947 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006904/0.02786, allocations: 407.5 kB / 0.9951 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.02788, allocations: 192 / 0.9951 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.295e-05/0.02792, allocations: 27.92 kB / 0.9951 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.02794, allocations: 8 kB / 0.9951 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004568/0.02839, allocations: 230.4 kB / 0.9954 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00306/0.03145, allocations: 1.821 MB / 0.9971 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/0.03298, allocations: 0.5259 MB / 0.9976 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002746/0.03325, allocations: 144.8 kB / 0.9978 GB, free: 9.98 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.03327, allocations: 0 / 0.9978 GB, free: 9.98 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.03331, allocations: 35.06 kB / 0.9978 GB, free: 9.938 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=30): time 1.093e-06/0.03331, allocations: 0 / 0.9978 GB, free: 9.938 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30): time 0.001692/0.035, allocations: 0.6715 MB / 0.9985 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.03505, allocations: 55.41 kB / 0.9985 GB, free: 9.184 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.03634, allocations: 0.9269 MB / 0.9994 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.323e-05/0.03639, allocations: 41.7 kB / 0.9995 GB, free: 8.203 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003706/0.03676, allocations: 377.2 kB / 0.9998 GB, free: 7.828 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.03688, allocations: 111 kB / 0.9999 GB, free: 7.719 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000222/0.0371, allocations: 166.6 kB / 1 GB, free: 7.551 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002359/0.03734, allocations: 402.7 kB / 1 GB, free: 7.148 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004428/0.03778, allocations: 241.8 kB / 1.001 GB, free: 6.91 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008276/0.03861, allocations: 0.6469 MB / 1.001 GB, free: 6.074 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.03985, allocations: 0.8858 MB / 1.002 GB, free: 4.996 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/0.03986, allocations: 4 kB / 1.002 GB, free: 4.992 MB / 0.9044 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001866/0.04172, allocations: 1.019 MB / 1.003 GB, free: 3.957 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/0.04175, allocations: 16.16 kB / 1.003 GB, free: 3.941 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.152e-05/0.04177, allocations: 12 kB / 1.003 GB, free: 3.93 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000441/0.04222, allocations: 122.4 kB / 1.003 GB, free: 3.801 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006476/0.04286, allocations: 191.7 kB / 1.004 GB, free: 3.613 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004152/0.04702, allocations: 4.094 MB / 1.008 GB, free: 15.2 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.04831, allocations: 119.3 kB / 1.008 GB, free: 15.09 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.881e-05/0.04839, allocations: 47.94 kB / 1.008 GB, free: 15.04 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (93): * Single equations (assignments): 90 * 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,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000536/0.04892, allocations: 261.5 kB / 1.008 GB, free: 14.77 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002799/0.0492, allocations: 87.39 kB / 1.008 GB, free: 14.69 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001442/0.04935, allocations: 76.42 kB / 1.008 GB, free: 14.61 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.04935, allocations: 7.938 kB / 1.008 GB, free: 14.61 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-05/0.04937, allocations: 4 kB / 1.008 GB, free: 14.6 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.04938, allocations: 7.984 kB / 1.008 GB, free: 14.59 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008634/0.05024, allocations: 468.8 kB / 1.009 GB, free: 14.11 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.05025, allocations: 0 / 1.009 GB, free: 14.11 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003655/0.05061, allocations: 67.88 kB / 1.009 GB, free: 14.04 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003593/0.05097, allocations: 98.5 kB / 1.009 GB, free: 13.94 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.924e-05/0.051, allocations: 12 kB / 1.009 GB, free: 13.93 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004267/0.05527, allocations: 4.067 MB / 1.013 GB, free: 9.555 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.05527, allocations: 4.031 kB / 1.013 GB, free: 9.551 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/0.05668, allocations: 0.7335 MB / 1.013 GB, free: 8.793 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003563/0.05704, allocations: 135.2 kB / 1.014 GB, free: 8.66 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.984e-05/0.05714, allocations: 11.98 kB / 1.014 GB, free: 8.648 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005338/0.05767, allocations: 24.03 kB / 1.014 GB, free: 8.625 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.293e-05/0.05775, allocations: 36.08 kB / 1.014 GB, free: 8.59 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.05778, allocations: 8 kB / 1.014 GB, free: 8.582 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001115/0.05889, allocations: 0.62 MB / 1.014 GB, free: 7.965 MB / 0.92 GB Notification: Performance of sort global known variables: time 9e-08/0.05889, allocations: 0 / 1.014 GB, free: 7.965 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001192/0.06008, allocations: 271.8 kB / 1.014 GB, free: 7.699 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.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 (23): * Single equations (assignments): 20 * 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,3,100.0%), (1,3,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.0001928/0.06028, allocations: 107.2 kB / 1.015 GB, free: 7.582 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001685/0.06196, allocations: 0.8976 MB / 1.015 GB, free: 6.648 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.06196, allocations: 0 / 1.015 GB, free: 6.648 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000886/0.06285, allocations: 0.5116 MB / 1.016 GB, free: 6.098 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008751/0.06372, allocations: 173.1 kB / 1.016 GB, free: 5.934 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002984/0.06671, allocations: 1.563 MB / 1.018 GB, free: 4.34 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006054/0.06731, allocations: 396.4 kB / 1.018 GB, free: 3.926 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0004436/0.06776, allocations: 149.6 kB / 1.018 GB, free: 3.777 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.06793, allocations: 52.48 kB / 1.018 GB, free: 3.727 MB / 0.92 GB Notification: Performance of SimCode: time 7.81e-07/0.06793, allocations: 0 / 1.018 GB, free: 3.727 MB / 0.92 GB Notification: Performance of Templates: time 0.02405/0.09198, allocations: 10.71 MB / 1.029 GB, free: 9.25 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.708013024181128]