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.0007565/0.0007565, 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.0007843/0.0007843, 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.8973/0.8973, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.656/1.656, allocations: 377.8 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.9809 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.016e-05/2.167e-05, allocations: 6.219 kB / 0.9809 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.003403/0.003425, allocations: 3.461 MB / 0.9843 GB, free: 15.1 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002927/0.006351, allocations: 2.419 MB / 0.9867 GB, free: 12.68 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002689/0.00662, allocations: 19.81 kB / 0.9867 GB, free: 12.66 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006052/0.007225, allocations: 250.2 kB / 0.9869 GB, free: 12.41 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.000884/0.008109, allocations: 0.5504 MB / 0.9875 GB, free: 11.86 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009184/0.009028, allocations: 0.5648 MB / 0.988 GB, free: 11.29 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.00108/0.01011, allocations: 1.429 MB / 0.9894 GB, free: 9.859 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001978/0.01031, allocations: 97.59 kB / 0.9895 GB, free: 9.762 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007372/0.01104, allocations: 0.6002 MB / 0.9901 GB, free: 9.16 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004/0.01144, allocations: 418.9 kB / 0.9905 GB, free: 8.75 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 6.146e-05/0.0115, allocations: 60 kB / 0.9906 GB, free: 8.691 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.01169, allocations: 67.94 kB / 0.9906 GB, free: 8.625 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002529/0.01194, allocations: 410.9 kB / 0.991 GB, free: 8.223 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002053/0.01215, allocations: 327.1 kB / 0.9913 GB, free: 7.902 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006676/0.01281, allocations: 0.9266 MB / 0.9922 GB, free: 6.973 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.01282, allocations: 0 / 0.9922 GB, free: 6.973 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.613e-06/0.01282, allocations: 0 / 0.9922 GB, free: 6.973 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.412e-05/0.01283, allocations: 3.938 kB / 0.9922 GB, free: 6.969 MB / 0.948 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.001697/0.01453, allocations: 1.224 MB / 0.9934 GB, free: 5.711 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.01457, allocations: 8.031 kB / 0.9934 GB, free: 5.703 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.269e-05/0.01463, allocations: 74.72 kB / 0.9935 GB, free: 5.621 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002122/0.01485, allocations: 108.3 kB / 0.9936 GB, free: 5.516 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007032/0.01555, allocations: 0.6175 MB / 0.9942 GB, free: 4.871 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.01558, allocations: 37.03 kB / 0.9942 GB, free: 4.836 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.914e-05/0.01564, allocations: 56.38 kB / 0.9943 GB, free: 4.781 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004082/0.01604, allocations: 419.5 kB / 0.9947 GB, free: 4.34 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.01606, allocations: 7.875 kB / 0.9947 GB, free: 4.332 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.01608, allocations: 12 kB / 0.9947 GB, free: 4.32 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.01609, allocations: 8 kB / 0.9947 GB, free: 4.312 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002735/0.01636, allocations: 238.4 kB / 0.995 GB, free: 4.078 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002121/0.01848, allocations: 1.879 MB / 0.9968 GB, free: 2.125 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000829/0.01931, allocations: 0.5259 MB / 0.9973 GB, free: 1.59 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.01947, allocations: 148.7 kB / 0.9974 GB, free: 1.441 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.01949, allocations: 4 kB / 0.9974 GB, free: 1.438 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.01951, allocations: 38.56 kB / 0.9975 GB, free: 1.391 MB / 0.948 GB Notification: Performance of pre-optimization done (n=30): time 1.523e-06/0.01951, allocations: 4 kB / 0.9975 GB, free: 1.387 MB / 0.948 GB Notification: Performance of matching and sorting (n=30): time 0.0009635/0.02048, allocations: 0.6491 MB / 0.9981 GB, free: 0.7227 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.02052, allocations: 59.34 kB / 0.9982 GB, free: 0.6523 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007989/0.02132, allocations: 0.9389 MB / 0.9991 GB, free: 15.7 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.02135, allocations: 41.7 kB / 0.9991 GB, free: 15.65 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/0.02156, allocations: 369.2 kB / 0.9995 GB, free: 15.29 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.676e-05/0.02164, allocations: 123 kB / 0.9996 GB, free: 15.17 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.02177, allocations: 166.6 kB / 0.9998 GB, free: 15 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.02191, allocations: 398.7 kB / 1 GB, free: 14.61 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002583/0.02217, allocations: 245.8 kB / 1 GB, free: 14.36 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004535/0.02262, allocations: 0.643 MB / 1.001 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007286/0.02335, allocations: 0.8968 MB / 1.002 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.02336, allocations: 4 kB / 1.002 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001322/0.02468, allocations: 1.019 MB / 1.003 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.02471, allocations: 8 kB / 1.003 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.02472, allocations: 16 kB / 1.003 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002378/0.02496, allocations: 118.5 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003084/0.02527, allocations: 199.9 kB / 1.003 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001965/0.02723, allocations: 4.152 MB / 1.007 GB, free: 6.562 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004305/0.02766, allocations: 115.2 kB / 1.007 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-05/0.0277, allocations: 43.98 kB / 1.007 GB, free: 6.406 MB / 0.9636 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.0002086/0.02791, allocations: 273.3 kB / 1.008 GB, free: 6.129 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-05/0.02798, allocations: 87.42 kB / 1.008 GB, free: 6.043 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.948e-05/0.02804, allocations: 76.59 kB / 1.008 GB, free: 5.965 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.02804, allocations: 4 kB / 1.008 GB, free: 5.961 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.02805, allocations: 0 / 1.008 GB, free: 5.961 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.02805, allocations: 3.984 kB / 1.008 GB, free: 5.957 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004117/0.02847, allocations: 0.5235 MB / 1.008 GB, free: 5.391 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.02847, allocations: 0 / 1.008 GB, free: 5.391 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.02862, allocations: 59.95 kB / 1.008 GB, free: 5.332 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001585/0.02878, allocations: 106.4 kB / 1.009 GB, free: 5.219 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.0288, allocations: 11.98 kB / 1.009 GB, free: 5.207 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/0.03068, allocations: 4.133 MB / 1.013 GB, free: 0.7305 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.03068, allocations: 0 / 1.013 GB, free: 0.7305 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006366/0.03132, allocations: 0.7517 MB / 1.013 GB, free: 15.95 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001704/0.03149, allocations: 131.3 kB / 1.013 GB, free: 15.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.579e-05/0.03154, allocations: 20.05 kB / 1.013 GB, free: 15.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/0.03177, allocations: 19.97 kB / 1.013 GB, free: 15.79 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.728e-05/0.03183, allocations: 27.95 kB / 1.013 GB, free: 15.76 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.03184, allocations: 4 kB / 1.013 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0005027/0.03234, allocations: 0.6278 MB / 1.014 GB, free: 15.13 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.03234, allocations: 0 / 1.014 GB, free: 15.13 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.000489/0.03283, allocations: 271.8 kB / 1.014 GB, free: 14.87 MB / 0.9792 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.001088/0.03392, allocations: 1.296 MB / 1.016 GB, free: 13.54 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0008257/0.03475, allocations: 0.8935 MB / 1.016 GB, free: 12.61 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.03475, allocations: 0 / 1.016 GB, free: 12.61 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003201/0.03507, allocations: 0.5083 MB / 1.017 GB, free: 12.06 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005509/0.03562, allocations: 177.8 kB / 1.017 GB, free: 11.88 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006495/0.04211, allocations: 7.665 MB / 1.025 GB, free: 3.672 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.04236, allocations: 404.5 kB / 1.025 GB, free: 3.25 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002135/0.04257, allocations: 141.9 kB / 1.025 GB, free: 3.109 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002334/0.04281, allocations: 284.4 kB / 1.025 GB, free: 2.832 MB / 0.9792 GB Notification: Performance of SimCode: time 7.22e-07/0.04281, allocations: 0 / 1.025 GB, free: 2.832 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4108/0.4536, allocations: 19.29 MB / 1.044 GB, free: 101.7 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.086/7.54, allocations: 4.75 kB / 1.044 GB, free: 101.7 MB / 0.9948 GB " [Timeout remaining time 292] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) [Timeout 420.0] 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: 11.481710035353899]