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.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.001997/0.001997, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002594/0.002594, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.563/1.563, allocations: 230.6 MB / 256 MB, free: 7.785 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.206/3.206, allocations: 0.4892 GB / 0.7943 GB, free: 35.57 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_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: 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.00202/0.00202, allocations: 63 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.405/0.407, allocations: 176.1 MB / 1.326 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.2121/0.6192, allocations: 148.3 MB / 1.47 GB, free: 12.98 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02976/0.6489, allocations: 16.2 MB / 1.486 GB, free: 12.74 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00268/0.6516, allocations: 47.62 kB / 1.486 GB, free: 12.7 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002448/0.654, allocations: 0.5583 MB / 1.487 GB, free: 12.13 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.008246/0.6623, allocations: 1.839 MB / 1.489 GB, free: 10.29 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.005066/0.6674, allocations: 1.471 MB / 1.49 GB, free: 8.832 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.005555/0.6729, allocations: 2.89 MB / 1.493 GB, free: 5.93 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003215/0.6761, allocations: 1.567 MB / 1.494 GB, free: 4.305 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00543/0.6816, allocations: 1.513 MB / 1.496 GB, free: 2.836 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002203/0.6838, allocations: 1.042 MB / 1.497 GB, free: 1.789 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0005122/0.6843, allocations: 224 kB / 1.497 GB, free: 1.57 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003833/0.6881, allocations: 1.458 MB / 1.498 GB, free: 112 kB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0009458/0.689, allocations: 0.7984 MB / 1.499 GB, free: 15.31 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001653/0.6907, allocations: 1.007 MB / 1.5 GB, free: 14.3 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.007551/0.6983, allocations: 3.662 MB / 1.504 GB, free: 10.62 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 1.057e-05/0.6983, allocations: 0 / 1.504 GB, free: 10.62 MB / 1.201 GB Notification: Performance of FrontEnd: time 3.687e-06/0.6983, allocations: 4 kB / 1.504 GB, free: 10.62 MB / 1.201 GB Notification: Performance of Transformations before backend: time 9.832e-05/0.6984, allocations: 3.938 kB / 1.504 GB, free: 10.61 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.007139/0.7055, allocations: 2.778 MB / 1.507 GB, free: 7.781 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.7056, allocations: 12.03 kB / 1.507 GB, free: 7.77 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004397/0.71, allocations: 0.6267 MB / 1.507 GB, free: 7.141 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003614/0.7136, allocations: 1.576 MB / 1.509 GB, free: 5.527 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/0.7137, allocations: 127.4 kB / 1.509 GB, free: 5.402 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002738/0.714, allocations: 172 kB / 1.509 GB, free: 5.234 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004895/0.7189, allocations: 2.701 MB / 1.512 GB, free: 2.297 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.912e-05/0.7189, allocations: 3.984 kB / 1.512 GB, free: 2.293 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001876/0.7191, allocations: 72 kB / 1.512 GB, free: 2.223 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.296e-05/0.7191, allocations: 44 kB / 1.512 GB, free: 2.18 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004172/0.7233, allocations: 2.046 MB / 1.514 GB, free: 132 kB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01057/0.7339, allocations: 4.197 MB / 1.518 GB, free: 11.86 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003793/0.7377, allocations: 1.708 MB / 1.52 GB, free: 10.14 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001352/0.739, allocations: 0.6905 MB / 1.52 GB, free: 9.445 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005273/0.7396, allocations: 117.2 kB / 1.52 GB, free: 9.332 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002478/0.742, allocations: 1.615 MB / 1.522 GB, free: 7.551 MB / 1.217 GB Notification: Performance of pre-optimization done (n=146): time 3.847e-06/0.742, allocations: 0 / 1.522 GB, free: 7.551 MB / 1.217 GB Notification: Performance of matching and sorting (n=146): time 0.007709/0.7498, allocations: 2.57 MB / 1.524 GB, free: 4.957 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001787/0.7499, allocations: 205.2 kB / 1.525 GB, free: 4.715 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002975/0.7529, allocations: 1.709 MB / 1.526 GB, free: 2.988 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002884/0.7532, allocations: 57.7 kB / 1.526 GB, free: 2.926 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001046/0.7542, allocations: 0.8669 MB / 1.527 GB, free: 2.047 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006491/0.7549, allocations: 0.4996 MB / 1.528 GB, free: 1.543 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004868/0.7554, allocations: 254.8 kB / 1.528 GB, free: 1.289 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000238/0.7556, allocations: 357.9 kB / 1.528 GB, free: 0.9336 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/0.7569, allocations: 0.5882 MB / 1.529 GB, free: 352 kB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001834/0.7587, allocations: 1.232 MB / 1.53 GB, free: 14.95 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002841/0.7615, allocations: 1.329 MB / 1.531 GB, free: 13.61 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.852e-06/0.7615, allocations: 0 / 1.531 GB, free: 13.61 MB / 1.232 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004767/0.7663, allocations: 1.808 MB / 1.533 GB, free: 11.78 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.7663, allocations: 8 kB / 1.533 GB, free: 11.77 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.7663, allocations: 0 / 1.533 GB, free: 11.77 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001385/0.7677, allocations: 224 kB / 1.533 GB, free: 11.54 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001725/0.7695, allocations: 331.6 kB / 1.534 GB, free: 11.21 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008388/0.7778, allocations: 6.681 MB / 1.54 GB, free: 4.023 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002082/0.7799, allocations: 158.7 kB / 1.54 GB, free: 3.871 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003659/0.7803, allocations: 51.97 kB / 1.54 GB, free: 3.82 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 (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.001644/0.7819, allocations: 488.3 kB / 1.541 GB, free: 3.336 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000844/0.7828, allocations: 182.8 kB / 1.541 GB, free: 3.156 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00595/0.7887, allocations: 2.116 MB / 1.543 GB, free: 1.008 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/0.7887, allocations: 16 kB / 1.543 GB, free: 0.9922 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.7888, allocations: 0 / 1.543 GB, free: 0.9922 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.932e-05/0.7888, allocations: 7.969 kB / 1.543 GB, free: 0.9844 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009031/0.7978, allocations: 3.506 MB / 1.546 GB, free: 13.42 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.7978, allocations: 3.938 kB / 1.546 GB, free: 13.41 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001543/0.7994, allocations: 311.6 kB / 1.547 GB, free: 13.11 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009752/0.8003, allocations: 204.1 kB / 1.547 GB, free: 12.89 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001809/0.8005, allocations: 43.97 kB / 1.547 GB, free: 12.85 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007979/0.8085, allocations: 6.708 MB / 1.554 GB, free: 5.617 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.8085, allocations: 4.031 kB / 1.554 GB, free: 5.613 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005298/0.8138, allocations: 1.993 MB / 1.556 GB, free: 3.582 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001468/0.8153, allocations: 394.2 kB / 1.556 GB, free: 3.195 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00046/0.8157, allocations: 31.94 kB / 1.556 GB, free: 3.164 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001608/0.8173, allocations: 101.4 kB / 1.556 GB, free: 3.066 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00041/0.8177, allocations: 121 kB / 1.556 GB, free: 2.949 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002146/0.818, allocations: 71.94 kB / 1.556 GB, free: 2.879 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002645/0.8206, allocations: 1.228 MB / 1.557 GB, free: 1.652 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8206, allocations: 3.938 kB / 1.557 GB, free: 1.648 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002921/0.8235, allocations: 0.6936 MB / 1.558 GB, free: 0.9531 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.003208/0.8267, allocations: 0.7786 MB / 1.559 GB, free: 388 kB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.004865/0.8316, allocations: 2.02 MB / 1.561 GB, free: 14.3 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.741e-05/0.8316, allocations: 12.59 kB / 1.561 GB, free: 14.29 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002669/0.8343, allocations: 1.356 MB / 1.562 GB, free: 12.86 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003337/0.8376, allocations: 0.5174 MB / 1.563 GB, free: 12.37 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009337/0.847, allocations: 3.781 MB / 1.566 GB, free: 8.562 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00185/0.8488, allocations: 0.9605 MB / 1.567 GB, free: 7.562 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.002518/0.8513, allocations: 0.5 MB / 1.568 GB, free: 7.059 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007199/0.852, allocations: 171.3 kB / 1.568 GB, free: 6.891 MB / 1.264 GB Notification: Performance of SimCode: time 1.282e-06/0.852, allocations: 0 / 1.568 GB, free: 6.891 MB / 1.264 GB Notification: Performance of Templates: time 0.06599/0.918, allocations: 34.38 MB / 1.602 GB, free: 4.984 MB / 1.295 GB " [Timeout remaining time 299] 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.619293972849846]