Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001286/0.001286, allocations: 113.3 kB / 17.08 MB, free: 6.012 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.001418/0.001418, allocations: 193.2 kB / 20.03 MB, free: 3.082 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.397/1.397, allocations: 222.9 MB / 245.7 MB, free: 4.23 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.883/2.883, allocations: 489.3 MB / 0.7687 GB, free: 3.809 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Fluid.Sources.Examples.Outside_CpData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 67.91 kB / 1.103 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9688/0.9709, allocations: 163.8 MB / 1.263 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.2192/1.19, allocations: 168.4 MB / 1.427 GB, free: 10.42 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02836/1.219, allocations: 17.35 MB / 1.444 GB, free: 12.4 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002522/1.221, allocations: 30.97 kB / 1.444 GB, free: 12.39 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002064/1.223, allocations: 0.5681 MB / 1.445 GB, free: 11.9 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0061/1.229, allocations: 1.775 MB / 1.446 GB, free: 10.57 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004537/1.234, allocations: 1.441 MB / 1.448 GB, free: 9.484 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004936/1.239, allocations: 2.865 MB / 1.451 GB, free: 7.664 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003423/1.242, allocations: 1.952 MB / 1.452 GB, free: 5.656 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00466/1.247, allocations: 1.42 MB / 1.454 GB, free: 4.281 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002025/1.249, allocations: 1.105 MB / 1.455 GB, free: 3.172 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0004577/1.25, allocations: 224 kB / 1.455 GB, free: 2.953 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003543/1.253, allocations: 1.548 MB / 1.457 GB, free: 1.402 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0008041/1.254, allocations: 0.7946 MB / 1.457 GB, free: 0.6055 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.00164/1.256, allocations: 1.22 MB / 1.459 GB, free: 15.38 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.006553/1.262, allocations: 3.603 MB / 1.462 GB, free: 11.76 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/1.262, allocations: 0 / 1.462 GB, free: 11.76 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.755e-06/1.262, allocations: 3.938 kB / 1.462 GB, free: 11.76 MB / 1.154 GB Notification: Performance of Transformations before backend: time 9.644e-05/1.262, allocations: 4 kB / 1.462 GB, free: 11.75 MB / 1.154 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.006275/1.269, allocations: 2.831 MB / 1.465 GB, free: 8.852 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/1.269, allocations: 12.03 kB / 1.465 GB, free: 8.84 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003759/1.272, allocations: 0.5643 MB / 1.465 GB, free: 8.273 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002952/1.275, allocations: 1.644 MB / 1.467 GB, free: 6.578 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/1.276, allocations: 131.4 kB / 1.467 GB, free: 6.449 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002265/1.276, allocations: 168 kB / 1.467 GB, free: 6.285 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003669/1.279, allocations: 1.948 MB / 1.469 GB, free: 4.285 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.638e-05/1.28, allocations: 3.938 kB / 1.469 GB, free: 4.281 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001798/1.28, allocations: 72 kB / 1.469 GB, free: 4.211 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.881e-05/1.28, allocations: 40 kB / 1.469 GB, free: 4.172 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00389/1.284, allocations: 2.085 MB / 1.471 GB, free: 2.082 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01063/1.294, allocations: 6.235 MB / 1.477 GB, free: 11.45 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003702/1.298, allocations: 2.093 MB / 1.48 GB, free: 9.289 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001362/1.299, allocations: 0.7569 MB / 1.48 GB, free: 8.527 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006747/1.3, allocations: 433.6 kB / 1.481 GB, free: 8.031 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002048/1.302, allocations: 1.009 MB / 1.482 GB, free: 7 MB / 1.17 GB Notification: Performance of pre-optimization done (n=146): time 4.729e-06/1.302, allocations: 0 / 1.482 GB, free: 7 MB / 1.17 GB Notification: Performance of matching and sorting (n=146): time 0.007461/1.31, allocations: 2.962 MB / 1.485 GB, free: 3.926 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001449/1.31, allocations: 197.2 kB / 1.485 GB, free: 3.691 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003175/1.313, allocations: 1.788 MB / 1.486 GB, free: 1.891 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002448/1.313, allocations: 61.7 kB / 1.487 GB, free: 1.824 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009284/1.314, allocations: 0.8441 MB / 1.487 GB, free: 0.9688 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005656/1.315, allocations: 499.7 kB / 1.488 GB, free: 488 kB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005266/1.315, allocations: 262.7 kB / 1.488 GB, free: 216 kB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002182/1.316, allocations: 361.9 kB / 1.488 GB, free: 15.85 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001267/1.317, allocations: 0.5921 MB / 1.489 GB, free: 15.26 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00153/1.318, allocations: 0.7936 MB / 1.49 GB, free: 14.41 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002642/1.321, allocations: 1.337 MB / 1.491 GB, free: 13.07 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-06/1.321, allocations: 8 kB / 1.491 GB, free: 13.06 MB / 1.186 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004443/1.325, allocations: 1.812 MB / 1.493 GB, free: 11.23 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/1.326, allocations: 7.938 kB / 1.493 GB, free: 11.22 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/1.326, allocations: 96 / 1.493 GB, free: 11.22 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001125/1.327, allocations: 216.1 kB / 1.493 GB, free: 10.99 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/1.328, allocations: 339.5 kB / 1.493 GB, free: 10.66 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007222/1.335, allocations: 7.316 MB / 1.501 GB, free: 2.633 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001907/1.337, allocations: 159.2 kB / 1.501 GB, free: 2.477 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003124/1.338, allocations: 59.95 kB / 1.501 GB, free: 2.418 MB / 1.186 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.001389/1.339, allocations: 487.2 kB / 1.501 GB, free: 1.934 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006692/1.34, allocations: 186.8 kB / 1.501 GB, free: 1.75 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00516/1.345, allocations: 2.129 MB / 1.503 GB, free: 15.59 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.951e-05/1.345, allocations: 16 kB / 1.504 GB, free: 15.57 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/1.345, allocations: 0 / 1.504 GB, free: 15.57 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.718e-05/1.345, allocations: 11.97 kB / 1.504 GB, free: 15.56 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008385/1.353, allocations: 3.981 MB / 1.507 GB, free: 11.5 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/1.354, allocations: 4 kB / 1.507 GB, free: 11.5 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001462/1.355, allocations: 323.5 kB / 1.508 GB, free: 11.18 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000938/1.356, allocations: 204.1 kB / 1.508 GB, free: 10.97 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00014/1.356, allocations: 39.97 kB / 1.508 GB, free: 10.93 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007056/1.363, allocations: 7.348 MB / 1.515 GB, free: 2.875 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/1.363, allocations: 7.922 kB / 1.515 GB, free: 2.867 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004867/1.368, allocations: 1.997 MB / 1.517 GB, free: 0.8359 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001405/1.37, allocations: 479.3 kB / 1.518 GB, free: 356 kB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004877/1.37, allocations: 28 kB / 1.518 GB, free: 328 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001525/1.372, allocations: 103.7 kB / 1.518 GB, free: 228 kB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003044/1.372, allocations: 117.1 kB / 1.518 GB, free: 108 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001987/1.372, allocations: 71.94 kB / 1.518 GB, free: 36 kB / 1.201 GB Notification: Performance of sorting global known variables: time 0.002239/1.374, allocations: 1.277 MB / 1.519 GB, free: 14.76 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.6e-07/1.374, allocations: 0 / 1.519 GB, free: 14.76 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002105/1.376, allocations: 0.6898 MB / 1.52 GB, free: 14.07 MB / 1.217 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.003074/1.38, allocations: 0.7585 MB / 1.521 GB, free: 13.5 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.005565/1.385, allocations: 2.086 MB / 1.523 GB, free: 11.35 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/1.385, allocations: 0.5625 kB / 1.523 GB, free: 11.35 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.003315/1.388, allocations: 1.422 MB / 1.524 GB, free: 9.867 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004131/1.393, allocations: 0.5523 MB / 1.524 GB, free: 9.34 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009604/1.402, allocations: 3.708 MB / 1.528 GB, free: 5.594 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001683/1.404, allocations: 1.492 MB / 1.53 GB, free: 4.066 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008153/1.405, allocations: 195.3 kB / 1.53 GB, free: 3.875 MB / 1.217 GB Notification: Performance of SimCode: time 7.82e-07/1.405, allocations: 0 / 1.53 GB, free: 3.875 MB / 1.217 GB Notification: Performance of Templates: time 0.09123/1.496, allocations: 67.12 MB / 1.595 GB, free: 0.793 MB / 1.279 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.729498086031526]