Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.001325/0.001325, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001478/0.001478, allocations: 210.2 kB / 22.99 MB, free: 4.957 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.25/3.25, allocations: 0.49 GB / 0.7959 GB, free: 35.42 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") [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.002131/0.002131, allocations: 63.39 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4039/0.406, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.2068/0.6128, allocations: 148.2 MB / 1.472 GB, free: 12.19 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02631/0.6391, allocations: 15.94 MB / 1.487 GB, free: 12.21 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001782/0.6409, allocations: 43.62 kB / 1.487 GB, free: 12.16 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001743/0.6427, allocations: 0.5389 MB / 1.488 GB, free: 11.62 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005532/0.6482, allocations: 1.669 MB / 1.49 GB, free: 9.945 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004082/0.6523, allocations: 1.353 MB / 1.491 GB, free: 8.605 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.005859/0.6581, allocations: 2.727 MB / 1.494 GB, free: 5.867 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003179/0.6613, allocations: 1.539 MB / 1.495 GB, free: 4.266 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005056/0.6664, allocations: 1.445 MB / 1.496 GB, free: 2.863 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001853/0.6682, allocations: 1.011 MB / 1.497 GB, free: 1.848 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0005159/0.6687, allocations: 208 kB / 1.498 GB, free: 1.645 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003727/0.6725, allocations: 1.314 MB / 1.499 GB, free: 336 kB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0008869/0.6733, allocations: 0.5646 MB / 1.5 GB, free: 15.76 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001561/0.6749, allocations: 0.8555 MB / 1.5 GB, free: 14.9 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.006076/0.681, allocations: 3.176 MB / 1.503 GB, free: 11.71 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.681, allocations: 0 / 1.503 GB, free: 11.71 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.974e-06/0.681, allocations: 3.938 kB / 1.503 GB, free: 11.71 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.349e-05/0.681, allocations: 0 / 1.503 GB, free: 11.71 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.004589/0.6856, allocations: 2.294 MB / 1.506 GB, free: 9.367 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.6857, allocations: 8.031 kB / 1.506 GB, free: 9.359 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004249/0.6899, allocations: 0.5802 MB / 1.506 GB, free: 8.777 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002247/0.6922, allocations: 1.053 MB / 1.507 GB, free: 7.695 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.6923, allocations: 131.4 kB / 1.507 GB, free: 7.566 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002463/0.6925, allocations: 160 kB / 1.508 GB, free: 7.41 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004028/0.6966, allocations: 2.608 MB / 1.51 GB, free: 4.566 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.716e-05/0.6966, allocations: 3.938 kB / 1.51 GB, free: 4.562 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001734/0.6968, allocations: 72 kB / 1.51 GB, free: 4.492 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.179e-05/0.6968, allocations: 47.94 kB / 1.51 GB, free: 4.445 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003716/0.7005, allocations: 1.824 MB / 1.512 GB, free: 2.617 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008264/0.7088, allocations: 3.723 MB / 1.516 GB, free: 14.82 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003063/0.7119, allocations: 1.37 MB / 1.517 GB, free: 13.46 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001182/0.713, allocations: 0.5928 MB / 1.518 GB, free: 12.86 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001/0.714, allocations: 177.1 kB / 1.518 GB, free: 12.68 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00226/0.7163, allocations: 1.504 MB / 1.519 GB, free: 11.02 MB / 1.217 GB Notification: Performance of pre-optimization done (n=146): time 4.017e-06/0.7163, allocations: 0 / 1.519 GB, free: 11.02 MB / 1.217 GB Notification: Performance of matching and sorting (n=146): time 0.006257/0.7226, allocations: 2.176 MB / 1.521 GB, free: 8.816 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/0.7227, allocations: 197.2 kB / 1.522 GB, free: 8.582 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.7239, allocations: 0.7591 MB / 1.522 GB, free: 7.812 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001607/0.7241, allocations: 53.7 kB / 1.522 GB, free: 7.754 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007081/0.7248, allocations: 0.6771 MB / 1.523 GB, free: 7.066 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005281/0.7253, allocations: 0.4957 MB / 1.523 GB, free: 6.566 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004867/0.7258, allocations: 262.8 kB / 1.524 GB, free: 6.305 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001982/0.726, allocations: 353.9 kB / 1.524 GB, free: 5.953 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/0.7271, allocations: 494.3 kB / 1.525 GB, free: 5.469 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001444/0.7285, allocations: 0.8644 MB / 1.525 GB, free: 4.523 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002489/0.731, allocations: 1.118 MB / 1.526 GB, free: 3.395 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.731, allocations: 7.938 kB / 1.526 GB, free: 3.387 MB / 1.217 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.004069/0.7351, allocations: 1.547 MB / 1.528 GB, free: 1.816 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.7351, allocations: 4.094 kB / 1.528 GB, free: 1.812 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.7351, allocations: 4 kB / 1.528 GB, free: 1.809 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/0.7362, allocations: 192.1 kB / 1.528 GB, free: 1.605 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/0.7377, allocations: 331.6 kB / 1.528 GB, free: 1.281 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007463/0.7452, allocations: 6.649 MB / 1.535 GB, free: 10.12 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/0.7467, allocations: 139.2 kB / 1.535 GB, free: 9.98 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/0.7469, allocations: 59.95 kB / 1.535 GB, free: 9.922 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009276/0.7478, allocations: 383.2 kB / 1.536 GB, free: 9.539 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000323/0.7481, allocations: 131.2 kB / 1.536 GB, free: 9.41 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004337/0.7525, allocations: 1.834 MB / 1.537 GB, free: 7.547 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.915e-05/0.7525, allocations: 16 kB / 1.537 GB, free: 7.531 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.7525, allocations: 7.938 kB / 1.537 GB, free: 7.523 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/0.7525, allocations: 7.969 kB / 1.537 GB, free: 7.516 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006513/0.759, allocations: 2.996 MB / 1.54 GB, free: 4.465 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.759, allocations: 0 / 1.54 GB, free: 4.465 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/0.7605, allocations: 307.6 kB / 1.541 GB, free: 4.164 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007137/0.7612, allocations: 184.1 kB / 1.541 GB, free: 3.969 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/0.7613, allocations: 43.97 kB / 1.541 GB, free: 3.926 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006586/0.7679, allocations: 6.672 MB / 1.547 GB, free: 12.73 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.7679, allocations: 3.938 kB / 1.547 GB, free: 12.73 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004258/0.7721, allocations: 1.709 MB / 1.549 GB, free: 10.98 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009905/0.7731, allocations: 322.6 kB / 1.549 GB, free: 10.66 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/0.7733, allocations: 32 kB / 1.549 GB, free: 10.63 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.7744, allocations: 107.9 kB / 1.55 GB, free: 10.53 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000296/0.7747, allocations: 117.1 kB / 1.55 GB, free: 10.41 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001631/0.7748, allocations: 75.94 kB / 1.55 GB, free: 10.34 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0008086/0.7756, allocations: 0.5263 MB / 1.55 GB, free: 9.82 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/0.7756, allocations: 0 / 1.55 GB, free: 9.82 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002246/0.7779, allocations: 0.6194 MB / 1.551 GB, free: 9.199 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002733/0.7806, allocations: 0.762 MB / 1.552 GB, free: 8.641 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.004086/0.7847, allocations: 1.82 MB / 1.553 GB, free: 6.758 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/0.7847, allocations: 4.656 kB / 1.553 GB, free: 6.754 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.002308/0.787, allocations: 1.247 MB / 1.555 GB, free: 5.441 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002528/0.7895, allocations: 0.4949 MB / 1.555 GB, free: 4.969 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006325/0.7959, allocations: 2.824 MB / 1.558 GB, free: 2.109 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009217/0.7968, allocations: 0.7212 MB / 1.559 GB, free: 1.355 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001668/0.7985, allocations: 429.7 kB / 1.559 GB, free: 0.9336 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004287/0.7989, allocations: 151.3 kB / 1.559 GB, free: 0.7891 MB / 1.248 GB Notification: Performance of SimCode: time 1.032e-06/0.7989, allocations: 0 / 1.559 GB, free: 0.7891 MB / 1.248 GB Notification: Performance of Templates: time 0.06922/0.8681, allocations: 29.99 MB / 1.588 GB, free: 3.309 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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: 10.758674679964315]