Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000963/0.000963, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.00161/0.00161, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9118/0.9118, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.641/1.641, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.9505 GB, free: 3.527 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.484e-05/1.648e-05, allocations: 6.281 kB / 0.9505 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.00332/0.003337, allocations: 3.443 MB / 0.9538 GB, free: 48 kB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.003152/0.006489, allocations: 2.427 MB / 0.9562 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003642/0.006854, allocations: 23.81 kB / 0.9562 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.000716/0.00757, allocations: 250.2 kB / 0.9565 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001016/0.008586, allocations: 0.5441 MB / 0.957 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.009744, allocations: 0.5681 MB / 0.9575 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001605/0.01135, allocations: 1.437 MB / 0.959 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000217/0.01157, allocations: 93.7 kB / 0.959 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008668/0.01243, allocations: 0.6002 MB / 0.9596 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004425/0.01287, allocations: 422.8 kB / 0.96 GB, free: 9.676 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 7.178e-05/0.01295, allocations: 56 kB / 0.9601 GB, free: 9.621 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.01308, allocations: 67.94 kB / 0.9601 GB, free: 9.555 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002729/0.01335, allocations: 410.8 kB / 0.9605 GB, free: 9.152 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002269/0.01358, allocations: 319.2 kB / 0.9608 GB, free: 8.84 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0007342/0.01431, allocations: 0.9343 MB / 0.9618 GB, free: 7.902 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.01432, allocations: 4 kB / 0.9618 GB, free: 7.898 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.253e-06/0.01432, allocations: 0 / 0.9618 GB, free: 7.898 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.01433, allocations: 4 kB / 0.9618 GB, free: 7.895 MB / 0.9167 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.001428/0.01576, allocations: 1.22 MB / 0.963 GB, free: 6.637 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.01579, allocations: 16.02 kB / 0.963 GB, free: 6.621 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.937e-05/0.01585, allocations: 66.73 kB / 0.963 GB, free: 6.547 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001898/0.01604, allocations: 116.3 kB / 0.9631 GB, free: 6.434 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006634/0.01671, allocations: 0.6136 MB / 0.9637 GB, free: 5.797 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.01673, allocations: 37.03 kB / 0.9638 GB, free: 5.762 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.243e-05/0.01678, allocations: 56.38 kB / 0.9638 GB, free: 5.707 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003894/0.01717, allocations: 407.5 kB / 0.9642 GB, free: 5.273 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.01719, allocations: 7.938 kB / 0.9642 GB, free: 5.266 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.01721, allocations: 12 kB / 0.9642 GB, free: 5.254 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.01721, allocations: 12 kB / 0.9643 GB, free: 5.242 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002596/0.01747, allocations: 234.4 kB / 0.9645 GB, free: 5.016 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001646/0.01912, allocations: 1.883 MB / 0.9663 GB, free: 3.051 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008028/0.01992, allocations: 0.522 MB / 0.9668 GB, free: 2.52 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.02008, allocations: 153.3 kB / 0.967 GB, free: 2.367 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.0201, allocations: 8 kB / 0.967 GB, free: 2.359 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.02012, allocations: 30.56 kB / 0.967 GB, free: 2.32 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=30): time 1.824e-06/0.02012, allocations: 0 / 0.967 GB, free: 2.32 MB / 0.9167 GB Notification: Performance of matching and sorting (n=30): time 0.0009007/0.02102, allocations: 0.6605 MB / 0.9677 GB, free: 1.645 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.02105, allocations: 55.34 kB / 0.9677 GB, free: 1.578 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007268/0.02177, allocations: 0.9388 MB / 0.9686 GB, free: 0.6289 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.0218, allocations: 45.7 kB / 0.9687 GB, free: 0.5781 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.02199, allocations: 365.3 kB / 0.969 GB, free: 224 kB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 6.764e-05/0.02206, allocations: 119 kB / 0.9691 GB, free: 104 kB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.02219, allocations: 170.6 kB / 0.9693 GB, free: 15.93 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.02231, allocations: 398.7 kB / 0.9697 GB, free: 15.53 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/0.02256, allocations: 241.8 kB / 0.9699 GB, free: 15.29 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004124/0.02297, allocations: 0.643 MB / 0.9705 GB, free: 14.46 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006592/0.02363, allocations: 0.893 MB / 0.9714 GB, free: 13.38 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.02364, allocations: 4 kB / 0.9714 GB, free: 13.37 MB / 0.9323 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001005/0.02464, allocations: 1.019 MB / 0.9724 GB, free: 12.34 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.02466, allocations: 18.28 kB / 0.9724 GB, free: 12.32 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.02467, allocations: 12 kB / 0.9724 GB, free: 12.31 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000238/0.02491, allocations: 126.8 kB / 0.9725 GB, free: 12.18 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000327/0.02524, allocations: 195.6 kB / 0.9727 GB, free: 11.98 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002031/0.02727, allocations: 4.143 MB / 0.9768 GB, free: 7.492 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004526/0.02772, allocations: 123.2 kB / 0.9769 GB, free: 7.371 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.708e-05/0.02776, allocations: 40 kB / 0.9769 GB, free: 7.332 MB / 0.9323 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.0002207/0.02798, allocations: 275.7 kB / 0.9772 GB, free: 7.055 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.089e-05/0.02806, allocations: 87.44 kB / 0.9773 GB, free: 6.969 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.783e-05/0.02813, allocations: 76.52 kB / 0.9774 GB, free: 6.891 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.02813, allocations: 4 kB / 0.9774 GB, free: 6.887 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.02814, allocations: 4 kB / 0.9774 GB, free: 6.883 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.02814, allocations: 0 / 0.9774 GB, free: 6.883 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000438/0.02858, allocations: 0.5236 MB / 0.9779 GB, free: 6.316 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.02858, allocations: 0 / 0.9779 GB, free: 6.316 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.02875, allocations: 67.89 kB / 0.9779 GB, free: 6.25 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001686/0.02892, allocations: 98.5 kB / 0.978 GB, free: 6.145 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.02894, allocations: 11.98 kB / 0.978 GB, free: 6.133 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/0.03087, allocations: 4.131 MB / 0.9821 GB, free: 1.66 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.03087, allocations: 0 / 0.9821 GB, free: 1.66 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006618/0.03154, allocations: 0.7406 MB / 0.9828 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001859/0.03172, allocations: 131.3 kB / 0.9829 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.268e-05/0.03177, allocations: 15.92 kB / 0.9829 GB, free: 0.75 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.03202, allocations: 23.97 kB / 0.983 GB, free: 0.7266 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.324e-05/0.03208, allocations: 27.89 kB / 0.983 GB, free: 0.6992 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.03209, allocations: 8 kB / 0.983 GB, free: 0.6914 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0005499/0.03264, allocations: 0.6278 MB / 0.9836 GB, free: 72 kB / 0.9323 GB Notification: Performance of sort global known variables: time 5e-08/0.03264, allocations: 11.94 kB / 0.9836 GB, free: 60 kB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0005601/0.0332, allocations: 264 kB / 0.9839 GB, free: 15.8 MB / 0.948 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.000865/0.03406, allocations: 1.292 MB / 0.9851 GB, free: 14.46 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008256/0.03489, allocations: 0.9073 MB / 0.986 GB, free: 13.52 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.03489, allocations: 1.875 kB / 0.986 GB, free: 13.52 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003493/0.03524, allocations: 0.5081 MB / 0.9865 GB, free: 12.98 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005739/0.03582, allocations: 175.4 kB / 0.9867 GB, free: 12.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006523/0.04234, allocations: 7.673 MB / 0.9942 GB, free: 4.59 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.04259, allocations: 392.5 kB / 0.9946 GB, free: 4.18 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000239/0.04283, allocations: 149.9 kB / 0.9947 GB, free: 4.031 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002411/0.04307, allocations: 280.4 kB / 0.995 GB, free: 3.758 MB / 0.948 GB Notification: Performance of SimCode: time 7.31e-07/0.04307, allocations: 0 / 0.995 GB, free: 3.758 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03116/0.07423, allocations: 19.29 MB / 1.014 GB, free: 0.8672 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.063/8.137, allocations: 13.62 kB / 1.014 GB, free: 0.8633 MB / 0.9636 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.236497011967003]