Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 187.3 kB / 22.1 MB, free: 4.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 225.6 MB / 250.8 MB, free: 2.883 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.936/2.936, allocations: 495.8 MB / 0.783 GB, free: 12.28 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,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_CpData") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,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_CpData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003255/0.003255, allocations: 71.83 kB / 1.137 GB, free: 12.2 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047/1.05, allocations: 173.6 MB / 1.307 GB, free: 33.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.2127/1.263, allocations: 167.3 MB / 1.47 GB, free: 8.738 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02919/1.292, allocations: 17.52 MB / 1.487 GB, free: 11.34 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0027/1.295, allocations: 38.69 kB / 1.487 GB, free: 11.32 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002685/1.298, allocations: 0.5948 MB / 1.488 GB, free: 10.82 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.007268/1.305, allocations: 1.829 MB / 1.49 GB, free: 9.449 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004808/1.31, allocations: 1.481 MB / 1.491 GB, free: 8.324 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005591/1.315, allocations: 2.882 MB / 1.494 GB, free: 6.582 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003462/1.319, allocations: 1.587 MB / 1.495 GB, free: 5.414 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005743/1.324, allocations: 1.496 MB / 1.497 GB, free: 4.582 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00372/1.328, allocations: 1.14 MB / 1.498 GB, free: 3.812 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.001586/1.33, allocations: 225.4 kB / 1.498 GB, free: 3.809 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006687/1.336, allocations: 1.455 MB / 1.5 GB, free: 3.062 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001757/1.338, allocations: 0.7984 MB / 1.5 GB, free: 2.262 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.002398/1.341, allocations: 1.22 MB / 1.502 GB, free: 1.035 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.007671/1.348, allocations: 3.584 MB / 1.505 GB, free: 13.44 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/1.348, allocations: 0 / 1.505 GB, free: 13.44 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.373e-06/1.348, allocations: 0 / 1.505 GB, free: 13.44 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.805e-05/1.348, allocations: 0 / 1.505 GB, free: 13.44 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.005708/1.354, allocations: 2.751 MB / 1.508 GB, free: 10.63 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/1.354, allocations: 12.03 kB / 1.508 GB, free: 10.62 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004005/1.358, allocations: 0.5721 MB / 1.508 GB, free: 10.05 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003094/1.361, allocations: 1.56 MB / 1.51 GB, free: 8.449 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/1.361, allocations: 131.4 kB / 1.51 GB, free: 8.32 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000255/1.362, allocations: 168 kB / 1.51 GB, free: 8.156 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00374/1.365, allocations: 1.949 MB / 1.512 GB, free: 6.156 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.899e-05/1.365, allocations: 0 / 1.512 GB, free: 6.156 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001781/1.365, allocations: 72 kB / 1.512 GB, free: 6.086 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.64e-05/1.366, allocations: 40 kB / 1.512 GB, free: 6.047 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003933/1.369, allocations: 2.089 MB / 1.514 GB, free: 3.953 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01061/1.38, allocations: 6.139 MB / 1.52 GB, free: 13.41 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003565/1.384, allocations: 1.7 MB / 1.522 GB, free: 11.72 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001375/1.385, allocations: 0.7026 MB / 1.523 GB, free: 11.01 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004821/1.385, allocations: 129.2 kB / 1.523 GB, free: 10.89 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001959/1.387, allocations: 1.013 MB / 1.524 GB, free: 9.855 MB / 1.201 GB Notification: Performance of pre-optimization done (n=146): time 3.186e-06/1.387, allocations: 0 / 1.524 GB, free: 9.855 MB / 1.201 GB Notification: Performance of matching and sorting (n=146): time 0.007626/1.395, allocations: 2.574 MB / 1.526 GB, free: 7.258 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001737/1.395, allocations: 201.2 kB / 1.526 GB, free: 7.02 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003008/1.398, allocations: 1.78 MB / 1.528 GB, free: 5.227 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.000364/1.399, allocations: 65.7 kB / 1.528 GB, free: 5.156 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009326/1.4, allocations: 0.8403 MB / 1.529 GB, free: 4.305 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005893/1.4, allocations: 0.4996 MB / 1.53 GB, free: 3.801 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004692/1.401, allocations: 254.8 kB / 1.53 GB, free: 3.547 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001932/1.401, allocations: 357.9 kB / 1.53 GB, free: 3.191 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/1.402, allocations: 0.5921 MB / 1.531 GB, free: 2.598 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/1.404, allocations: 0.7974 MB / 1.531 GB, free: 1.746 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002644/1.406, allocations: 1.337 MB / 1.533 GB, free: 412 kB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/1.406, allocations: 0 / 1.533 GB, free: 412 kB / 1.201 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004491/1.411, allocations: 1.808 MB / 1.535 GB, free: 14.57 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/1.411, allocations: 15.92 kB / 1.535 GB, free: 14.55 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/1.411, allocations: 3.938 kB / 1.535 GB, free: 14.55 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001159/1.412, allocations: 212.2 kB / 1.535 GB, free: 14.33 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/1.413, allocations: 335.5 kB / 1.535 GB, free: 14 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006818/1.42, allocations: 6.811 MB / 1.542 GB, free: 6.617 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/1.422, allocations: 176.9 kB / 1.542 GB, free: 6.445 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/1.422, allocations: 55.95 kB / 1.542 GB, free: 6.391 MB / 1.217 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 (152): * Single equations (assignments): 147 * 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.001044/1.423, allocations: 479.3 kB / 1.542 GB, free: 5.91 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005027/1.424, allocations: 190.8 kB / 1.543 GB, free: 5.723 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004865/1.429, allocations: 2.136 MB / 1.545 GB, free: 3.555 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.981e-05/1.429, allocations: 16 kB / 1.545 GB, free: 3.539 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/1.429, allocations: 0 / 1.545 GB, free: 3.539 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/1.429, allocations: 11.97 kB / 1.545 GB, free: 3.527 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00786/1.437, allocations: 3.938 MB / 1.549 GB, free: 15.52 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/1.437, allocations: 4 kB / 1.549 GB, free: 15.51 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00155/1.438, allocations: 323.5 kB / 1.549 GB, free: 15.2 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009613/1.439, allocations: 204.1 kB / 1.549 GB, free: 14.98 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/1.439, allocations: 47.95 kB / 1.549 GB, free: 14.93 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00661/1.446, allocations: 6.83 MB / 1.556 GB, free: 7.516 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.446, allocations: 3.938 kB / 1.556 GB, free: 7.512 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004786/1.451, allocations: 2.001 MB / 1.558 GB, free: 5.477 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/1.452, allocations: 398.2 kB / 1.558 GB, free: 5.086 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002625/1.452, allocations: 35.95 kB / 1.558 GB, free: 5.051 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/1.453, allocations: 97.95 kB / 1.558 GB, free: 4.957 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002818/1.454, allocations: 121.1 kB / 1.558 GB, free: 4.84 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000187/1.454, allocations: 75.95 kB / 1.558 GB, free: 4.766 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001864/1.456, allocations: 1.281 MB / 1.56 GB, free: 3.488 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.2e-07/1.456, allocations: 0 / 1.56 GB, free: 3.488 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001938/1.457, allocations: 0.6898 MB / 1.56 GB, free: 2.797 MB / 1.232 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.01055/1.468, allocations: 0.7527 MB / 1.561 GB, free: 2.219 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.004588/1.473, allocations: 2.027 MB / 1.563 GB, free: 128 kB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/1.473, allocations: 4.656 kB / 1.563 GB, free: 124 kB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.00257/1.475, allocations: 1.364 MB / 1.564 GB, free: 14.7 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002931/1.478, allocations: 0.5475 MB / 1.565 GB, free: 14.17 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007468/1.486, allocations: 3.761 MB / 1.569 GB, free: 10.37 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001446/1.487, allocations: 1.529 MB / 1.57 GB, free: 8.809 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002107/1.489, allocations: 0.497 MB / 1.571 GB, free: 8.305 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005582/1.49, allocations: 179.3 kB / 1.571 GB, free: 8.133 MB / 1.248 GB Notification: Performance of SimCode: time 1.673e-06/1.49, allocations: 0 / 1.571 GB, free: 8.133 MB / 1.248 GB Notification: Performance of Templates: time 0.06322/1.553, allocations: 33.18 MB / 1.603 GB, free: 7.293 MB / 1.279 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.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.142032693140209]