Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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.001941/0.001941, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.002354/0.002354, allocations: 190 kB / 22.1 MB, free: 5.152 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.551/1.551, allocations: 225.6 MB / 250.8 MB, free: 13.08 MB / 206.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 3.274/3.274, allocations: 495.8 MB / 0.783 GB, free: 33.39 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_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 69.33 kB / 1.137 GB, free: 33.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3654, allocations: 173.6 MB / 1.307 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1887/0.5541, allocations: 153.4 MB / 1.457 GB, free: 7.859 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01675/0.5709, allocations: 10.71 MB / 1.467 GB, free: 13.11 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001207/0.5721, allocations: 23.81 kB / 1.467 GB, free: 13.09 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.5732, allocations: 289.6 kB / 1.467 GB, free: 12.8 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003427/0.5766, allocations: 0.9942 MB / 1.468 GB, free: 11.81 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003041/0.5797, allocations: 1.111 MB / 1.469 GB, free: 10.71 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002581/0.5822, allocations: 1.729 MB / 1.471 GB, free: 8.973 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001599/0.5838, allocations: 0.9327 MB / 1.472 GB, free: 8.008 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002235/0.5861, allocations: 0.7622 MB / 1.473 GB, free: 7.258 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009733/0.587, allocations: 0.6263 MB / 1.473 GB, free: 6.629 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002207/0.5873, allocations: 136 kB / 1.473 GB, free: 6.496 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002496/0.5898, allocations: 1.006 MB / 1.474 GB, free: 5.488 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004486/0.5902, allocations: 394.7 kB / 1.475 GB, free: 5.102 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0007785/0.591, allocations: 0.6607 MB / 1.475 GB, free: 4.438 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003791/0.5948, allocations: 2.207 MB / 1.478 GB, free: 2.223 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.5948, allocations: 4 kB / 1.478 GB, free: 2.219 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.145e-06/0.5948, allocations: 0 / 1.478 GB, free: 2.219 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.747e-05/0.5948, allocations: 0 / 1.478 GB, free: 2.219 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003573/0.5984, allocations: 1.674 MB / 1.479 GB, free: 0.5117 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.5984, allocations: 12.92 kB / 1.479 GB, free: 0.5 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001747/0.6002, allocations: 278.9 kB / 1.48 GB, free: 232 kB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.6017, allocations: 0.8498 MB / 1.48 GB, free: 15.35 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.641e-05/0.6018, allocations: 70 kB / 1.48 GB, free: 15.28 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.602, allocations: 96 kB / 1.481 GB, free: 15.18 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002169/0.6041, allocations: 1.11 MB / 1.482 GB, free: 14.04 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.6041, allocations: 0 / 1.482 GB, free: 14.04 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/0.6043, allocations: 44 kB / 1.482 GB, free: 13.99 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.756e-05/0.6043, allocations: 24 kB / 1.482 GB, free: 13.97 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002567/0.6068, allocations: 1.319 MB / 1.483 GB, free: 12.65 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006375/0.6132, allocations: 3.384 MB / 1.486 GB, free: 9.094 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002218/0.6154, allocations: 0.9803 MB / 1.487 GB, free: 8.109 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008687/0.6163, allocations: 385.2 kB / 1.488 GB, free: 7.73 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00023/0.6165, allocations: 64.92 kB / 1.488 GB, free: 7.668 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001299/0.6178, allocations: 0.6215 MB / 1.488 GB, free: 7.027 MB / 1.186 GB Notification: Performance of pre-optimization done (n=95): time 2.535e-06/0.6178, allocations: 4 kB / 1.488 GB, free: 7.023 MB / 1.186 GB Notification: Performance of matching and sorting (n=95): time 0.004716/0.6226, allocations: 1.485 MB / 1.49 GB, free: 5.527 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/0.6227, allocations: 188.9 kB / 1.49 GB, free: 5.297 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.624, allocations: 0.8057 MB / 1.491 GB, free: 4.48 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001918/0.6242, allocations: 49.7 kB / 1.491 GB, free: 4.426 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004652/0.6246, allocations: 469.2 kB / 1.491 GB, free: 3.961 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003138/0.6249, allocations: 325.2 kB / 1.491 GB, free: 3.641 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003256/0.6253, allocations: 186.5 kB / 1.492 GB, free: 3.453 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.6254, allocations: 341.9 kB / 1.492 GB, free: 3.113 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008154/0.6263, allocations: 357.8 kB / 1.492 GB, free: 2.766 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/0.6273, allocations: 485.5 kB / 1.493 GB, free: 2.266 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00179/0.6291, allocations: 0.7882 MB / 1.494 GB, free: 1.469 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.6291, allocations: 0 / 1.494 GB, free: 1.469 MB / 1.186 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002988/0.6321, allocations: 1.088 MB / 1.495 GB, free: 376 kB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.6321, allocations: 11.94 kB / 1.495 GB, free: 364 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.6321, allocations: 4.062 kB / 1.495 GB, free: 360 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008225/0.633, allocations: 117.6 kB / 1.495 GB, free: 236 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009829/0.6339, allocations: 203.7 kB / 1.495 GB, free: 32 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003796/0.6377, allocations: 2.864 MB / 1.498 GB, free: 12.94 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.6388, allocations: 107.5 kB / 1.498 GB, free: 12.83 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-05/0.6389, allocations: 39.97 kB / 1.498 GB, free: 12.79 MB / 1.201 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 (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007192/0.6397, allocations: 311.4 kB / 1.498 GB, free: 12.48 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002473/0.6399, allocations: 107.3 kB / 1.498 GB, free: 12.38 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003353/0.6433, allocations: 1.318 MB / 1.5 GB, free: 11.03 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.6433, allocations: 8 kB / 1.5 GB, free: 11.02 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.6433, allocations: 4 kB / 1.5 GB, free: 11.02 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.6433, allocations: 3.984 kB / 1.5 GB, free: 11.02 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004959/0.6482, allocations: 2.391 MB / 1.502 GB, free: 8.57 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.912e-06/0.6483, allocations: 0 / 1.502 GB, free: 8.57 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009109/0.6492, allocations: 183.8 kB / 1.502 GB, free: 8.391 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006143/0.6498, allocations: 117.5 kB / 1.502 GB, free: 8.27 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-05/0.6499, allocations: 35.92 kB / 1.502 GB, free: 8.234 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003344/0.6532, allocations: 2.894 MB / 1.505 GB, free: 5.105 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.6532, allocations: 0 / 1.505 GB, free: 5.105 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003073/0.6563, allocations: 1.237 MB / 1.506 GB, free: 3.844 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006526/0.6569, allocations: 242.9 kB / 1.507 GB, free: 3.605 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/0.6571, allocations: 20 kB / 1.507 GB, free: 3.586 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008838/0.658, allocations: 79.91 kB / 1.507 GB, free: 3.508 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002083/0.6582, allocations: 84.78 kB / 1.507 GB, free: 3.426 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.6583, allocations: 43.97 kB / 1.507 GB, free: 3.383 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0009176/0.6592, allocations: 0.5732 MB / 1.507 GB, free: 2.812 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6592, allocations: 3.938 kB / 1.507 GB, free: 2.809 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001317/0.6605, allocations: 458.9 kB / 1.508 GB, free: 2.359 MB / 1.201 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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.002378/0.6629, allocations: 0.7231 MB / 1.508 GB, free: 1.82 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002646/0.6656, allocations: 1.111 MB / 1.51 GB, free: 0.6836 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.6656, allocations: 0 / 1.51 GB, free: 0.6836 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001514/0.6671, allocations: 0.706 MB / 1.51 GB, free: 15.95 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/0.6688, allocations: 352.6 kB / 1.511 GB, free: 15.63 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004303/0.6731, allocations: 2.048 MB / 1.513 GB, free: 13.56 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008786/0.674, allocations: 1.107 MB / 1.514 GB, free: 12.42 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001199/0.6752, allocations: 315.6 kB / 1.514 GB, free: 12.11 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003533/0.6755, allocations: 119.4 kB / 1.514 GB, free: 11.99 MB / 1.217 GB Notification: Performance of SimCode: time 8.51e-07/0.6755, allocations: 0 / 1.514 GB, free: 11.99 MB / 1.217 GB Notification: Performance of Templates: time 0.04304/0.7186, allocations: 20.86 MB / 1.534 GB, free: 7.352 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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.483316369354725]