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.001818/0.001818, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.0024/0.0024, allocations: 159.8 kB / 23.01 MB, free: 4.949 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.457/1.457, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.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 2.799/2.799, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 177] 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.003167/0.003167, allocations: 63.89 kB / 0.9819 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043/1.046, allocations: 176.1 MB / 1.154 GB, free: 33.36 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1943/1.24, allocations: 148.3 MB / 1.299 GB, free: 13.47 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02597/1.266, allocations: 16.21 MB / 1.315 GB, free: 1.43 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002193/1.268, allocations: 42.31 kB / 1.315 GB, free: 1.406 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001897/1.27, allocations: 0.5658 MB / 1.315 GB, free: 0.9258 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.005904/1.276, allocations: 1.833 MB / 1.317 GB, free: 15.56 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004145/1.28, allocations: 1.476 MB / 1.318 GB, free: 14.45 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004061/1.284, allocations: 2.879 MB / 1.321 GB, free: 12.71 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0035/1.288, allocations: 1.576 MB / 1.323 GB, free: 11.56 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005313/1.293, allocations: 1.518 MB / 1.324 GB, free: 10.27 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001898/1.295, allocations: 1.046 MB / 1.325 GB, free: 9.223 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003826/1.295, allocations: 224 kB / 1.325 GB, free: 9.004 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003462/1.299, allocations: 1.455 MB / 1.327 GB, free: 7.547 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000825/1.3, allocations: 0.8022 MB / 1.328 GB, free: 6.742 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001282/1.301, allocations: 0.9991 MB / 1.329 GB, free: 5.738 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.005358/1.306, allocations: 3.662 MB / 1.332 GB, free: 2.062 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.306, allocations: 0 / 1.332 GB, free: 2.062 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.804e-06/1.306, allocations: 0 / 1.332 GB, free: 2.062 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.97e-05/1.306, allocations: 3.984 kB / 1.332 GB, free: 2.059 MB / 1.17 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.005318/1.312, allocations: 2.782 MB / 1.335 GB, free: 15.22 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/1.312, allocations: 8.031 kB / 1.335 GB, free: 15.21 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00458/1.316, allocations: 0.6228 MB / 1.336 GB, free: 14.59 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003002/1.319, allocations: 1.576 MB / 1.337 GB, free: 12.97 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/1.32, allocations: 135.4 kB / 1.337 GB, free: 12.84 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002454/1.32, allocations: 164 kB / 1.337 GB, free: 12.68 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004107/1.324, allocations: 2.709 MB / 1.34 GB, free: 9.738 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.888e-05/1.324, allocations: 0 / 1.34 GB, free: 9.738 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000165/1.324, allocations: 76 kB / 1.34 GB, free: 9.664 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.641e-05/1.324, allocations: 40 kB / 1.34 GB, free: 9.625 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003798/1.328, allocations: 2.035 MB / 1.342 GB, free: 7.586 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008727/1.337, allocations: 4.209 MB / 1.346 GB, free: 3.301 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003466/1.34, allocations: 1.696 MB / 1.348 GB, free: 1.602 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001397/1.341, allocations: 0.7026 MB / 1.349 GB, free: 0.8984 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004921/1.342, allocations: 117.2 kB / 1.349 GB, free: 0.7852 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002498/1.344, allocations: 1.615 MB / 1.35 GB, free: 15 MB / 1.201 GB Notification: Performance of pre-optimization done (n=146): time 4.809e-06/1.344, allocations: 4 kB / 1.35 GB, free: 15 MB / 1.201 GB Notification: Performance of matching and sorting (n=146): time 0.007275/1.352, allocations: 2.578 MB / 1.353 GB, free: 12.4 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/1.352, allocations: 197.2 kB / 1.353 GB, free: 12.16 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002591/1.354, allocations: 1.713 MB / 1.355 GB, free: 10.43 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001515/1.355, allocations: 61.7 kB / 1.355 GB, free: 10.37 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008464/1.355, allocations: 0.8553 MB / 1.356 GB, free: 9.5 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004977/1.356, allocations: 0.4957 MB / 1.356 GB, free: 9 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004558/1.356, allocations: 254.8 kB / 1.356 GB, free: 8.746 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001789/1.357, allocations: 357.9 kB / 1.357 GB, free: 8.391 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/1.358, allocations: 0.5921 MB / 1.357 GB, free: 7.797 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001741/1.36, allocations: 1.232 MB / 1.358 GB, free: 6.406 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002664/1.362, allocations: 1.333 MB / 1.36 GB, free: 5.062 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/1.362, allocations: 4 kB / 1.36 GB, free: 5.059 MB / 1.201 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004285/1.367, allocations: 1.804 MB / 1.361 GB, free: 3.23 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/1.367, allocations: 4 kB / 1.361 GB, free: 3.227 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/1.367, allocations: 11.88 kB / 1.361 GB, free: 3.215 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001146/1.368, allocations: 220.1 kB / 1.362 GB, free: 2.984 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001617/1.369, allocations: 339.5 kB / 1.362 GB, free: 2.652 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00679/1.376, allocations: 6.664 MB / 1.369 GB, free: 11.48 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001856/1.378, allocations: 143.3 kB / 1.369 GB, free: 11.34 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002199/1.378, allocations: 59.95 kB / 1.369 GB, free: 11.28 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.001115/1.379, allocations: 483.4 kB / 1.369 GB, free: 10.8 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005459/1.38, allocations: 190.8 kB / 1.369 GB, free: 10.61 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00491/1.385, allocations: 2.116 MB / 1.371 GB, free: 8.465 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/1.385, allocations: 12 kB / 1.371 GB, free: 8.453 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/1.385, allocations: 8 kB / 1.371 GB, free: 8.445 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.795e-05/1.385, allocations: 11.91 kB / 1.371 GB, free: 8.434 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007404/1.392, allocations: 3.494 MB / 1.375 GB, free: 4.879 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/1.392, allocations: 0 / 1.375 GB, free: 4.879 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001522/1.394, allocations: 315.6 kB / 1.375 GB, free: 4.57 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009532/1.395, allocations: 212 kB / 1.375 GB, free: 4.348 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001234/1.395, allocations: 43.95 kB / 1.375 GB, free: 4.305 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006415/1.401, allocations: 6.706 MB / 1.382 GB, free: 13.08 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.401, allocations: 0 / 1.382 GB, free: 13.08 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004479/1.406, allocations: 1.989 MB / 1.384 GB, free: 11.05 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001074/1.407, allocations: 398.1 kB / 1.384 GB, free: 10.66 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003128/1.407, allocations: 28 kB / 1.384 GB, free: 10.64 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001401/1.409, allocations: 99.91 kB / 1.384 GB, free: 10.54 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002791/1.409, allocations: 125 kB / 1.385 GB, free: 10.42 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001853/1.409, allocations: 71.94 kB / 1.385 GB, free: 10.35 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001894/1.411, allocations: 1.22 MB / 1.386 GB, free: 9.129 MB / 1.232 GB Notification: Performance of sort global known variables: time 2.91e-07/1.411, allocations: 0 / 1.386 GB, free: 9.129 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.002046/1.413, allocations: 0.7053 MB / 1.386 GB, free: 8.422 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.002604/1.416, allocations: 0.7803 MB / 1.387 GB, free: 7.844 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.003852/1.419, allocations: 2.027 MB / 1.389 GB, free: 5.75 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/1.419, allocations: 4.656 kB / 1.389 GB, free: 5.746 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.002293/1.422, allocations: 1.367 MB / 1.391 GB, free: 4.316 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002619/1.424, allocations: 0.5176 MB / 1.391 GB, free: 3.824 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00785/1.432, allocations: 3.78 MB / 1.395 GB, free: 12 kB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001679/1.434, allocations: 0.9567 MB / 1.396 GB, free: 15.02 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002277/1.436, allocations: 0.5078 MB / 1.396 GB, free: 14.5 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000764/1.437, allocations: 180.4 kB / 1.396 GB, free: 14.33 MB / 1.248 GB Notification: Performance of SimCode: time 1.342e-06/1.437, allocations: 0 / 1.396 GB, free: 14.33 MB / 1.248 GB Notification: Performance of Templates: time 0.06247/1.499, allocations: 31.63 MB / 1.427 GB, free: 15.19 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 -s ida -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/jenkins1/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: 10.735490107093938]