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.001961/0.001961, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.00205/0.00205, allocations: 215.5 kB / 22.25 MB, free: 5.113 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.544/1.544, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.978/2.978, allocations: 476.7 MB / 0.7707 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 65.94 kB / 1.117 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3216, allocations: 170 MB / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.006035/0.3276, allocations: 3.8 MB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004804/0.3324, allocations: 2.597 MB / 1.29 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005824/0.333, allocations: 23.81 kB / 1.29 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009822/0.334, allocations: 249.9 kB / 1.29 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001578/0.3356, allocations: 0.5376 MB / 1.29 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001677/0.3373, allocations: 0.5693 MB / 1.291 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002203/0.3395, allocations: 1.402 MB / 1.292 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002811/0.3397, allocations: 97.73 kB / 1.292 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009303/0.3407, allocations: 450.5 kB / 1.293 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.3417, allocations: 0.4903 MB / 1.293 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000238/0.3419, allocations: 56 kB / 1.293 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003454/0.3423, allocations: 68 kB / 1.293 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005788/0.3429, allocations: 398.8 kB / 1.294 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006321/0.3435, allocations: 473.6 kB / 1.294 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001147/0.3446, allocations: 0.953 MB / 1.295 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.3446, allocations: 0 / 1.295 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.82e-07/0.3446, allocations: 0 / 1.295 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.3447, allocations: 0 / 1.295 GB, free: 15.59 MB / 0.9981 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.002609/0.3473, allocations: 1.232 MB / 1.296 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.3473, allocations: 12.03 kB / 1.296 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001714/0.3475, allocations: 70.66 kB / 1.296 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003071/0.3478, allocations: 116.3 kB / 1.297 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/0.349, allocations: 0.6144 MB / 1.297 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.684e-05/0.349, allocations: 41.03 kB / 1.297 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-05/0.3491, allocations: 64.08 kB / 1.297 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006844/0.3498, allocations: 415 kB / 1.298 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.3498, allocations: 0 / 1.298 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.549e-05/0.3499, allocations: 15.94 kB / 1.298 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.3499, allocations: 8 kB / 1.298 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004641/0.3503, allocations: 238.4 kB / 1.298 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003505/0.3538, allocations: 2.456 MB / 1.3 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/0.3554, allocations: 0.5376 MB / 1.301 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002776/0.3557, allocations: 145.2 kB / 1.301 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.3557, allocations: 4 kB / 1.301 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.3558, allocations: 38.56 kB / 1.301 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=30): time 1.763e-06/0.3558, allocations: 4 kB / 1.301 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30): time 0.001682/0.3574, allocations: 0.6617 MB / 1.302 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.3575, allocations: 55.41 kB / 1.302 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/0.3589, allocations: 0.9271 MB / 1.303 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.003e-05/0.3589, allocations: 41.7 kB / 1.303 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000342/0.3593, allocations: 377.2 kB / 1.303 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.3594, allocations: 119 kB / 1.303 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002227/0.3596, allocations: 170.6 kB / 1.303 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000232/0.3598, allocations: 390.8 kB / 1.304 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004458/0.3603, allocations: 245.8 kB / 1.304 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008053/0.3611, allocations: 0.6391 MB / 1.305 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/0.3623, allocations: 0.8927 MB / 1.305 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.3623, allocations: 4 kB / 1.305 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001773/0.3641, allocations: 1.011 MB / 1.306 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.3641, allocations: 12 kB / 1.306 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.293e-05/0.3641, allocations: 23.94 kB / 1.306 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004408/0.3646, allocations: 126.8 kB / 1.307 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006964/0.3653, allocations: 187.7 kB / 1.307 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003963/0.3692, allocations: 4.171 MB / 1.311 GB, free: 14.47 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.3703, allocations: 119.2 kB / 1.311 GB, free: 14.35 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.539e-05/0.3704, allocations: 48.06 kB / 1.311 GB, free: 14.3 MB / 1.014 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.00039/0.3708, allocations: 269.3 kB / 1.311 GB, free: 14.03 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.3709, allocations: 83.44 kB / 1.311 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001434/0.3711, allocations: 84.52 kB / 1.311 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.3711, allocations: 7.938 kB / 1.311 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.3711, allocations: 0 / 1.311 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3711, allocations: 0 / 1.311 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008765/0.372, allocations: 0.6404 MB / 1.312 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.372, allocations: 0 / 1.312 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003635/0.3723, allocations: 67.88 kB / 1.312 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003192/0.3726, allocations: 98.5 kB / 1.312 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.049e-05/0.3727, allocations: 12 kB / 1.312 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003776/0.3764, allocations: 4.151 MB / 1.316 GB, free: 8.492 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3764, allocations: 3.938 kB / 1.316 GB, free: 8.488 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.3777, allocations: 0.7393 MB / 1.317 GB, free: 7.723 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003681/0.3781, allocations: 143.2 kB / 1.317 GB, free: 7.582 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.3782, allocations: 11.98 kB / 1.317 GB, free: 7.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005015/0.3787, allocations: 23.97 kB / 1.317 GB, free: 7.547 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.485e-05/0.3787, allocations: 23.95 kB / 1.317 GB, free: 7.523 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.3788, allocations: 7.938 kB / 1.317 GB, free: 7.516 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009396/0.3797, allocations: 0.6278 MB / 1.318 GB, free: 6.895 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.3797, allocations: 0 / 1.318 GB, free: 6.895 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009111/0.3806, allocations: 271.8 kB / 1.318 GB, free: 6.629 MB / 1.014 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.001586/0.3822, allocations: 1.288 MB / 1.319 GB, free: 5.301 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001593/0.3838, allocations: 0.8976 MB / 1.32 GB, free: 4.367 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3838, allocations: 384 / 1.32 GB, free: 4.367 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007364/0.3845, allocations: 0.5193 MB / 1.321 GB, free: 3.809 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009607/0.3855, allocations: 167.5 kB / 1.321 GB, free: 3.645 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/0.3974, allocations: 7.861 MB / 1.329 GB, free: 11.24 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007347/0.3981, allocations: 0.9878 MB / 1.33 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004385/0.3986, allocations: 145.9 kB / 1.33 GB, free: 10.08 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004128/0.399, allocations: 279.3 kB / 1.33 GB, free: 9.809 MB / 1.029 GB Notification: Performance of SimCode: time 1.172e-06/0.399, allocations: 0 / 1.33 GB, free: 9.809 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06281/0.4618, allocations: 17.81 MB / 1.347 GB, free: 8.277 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/13.63, allocations: 8 kB / 1.347 GB, free: 8.27 MB / 1.045 GB " [Timeout remaining time 286] (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/jenkins1/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: 20.83747409679927]