Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.001359/0.001359, allocations: 77.23 kB / 19.76 MB, free: 2.031 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.001449/0.001449, allocations: 158.4 kB / 23.01 MB, free: 4.941 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.449/1.449, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.696/2.696, allocations: 359.1 MB / 0.6044 GB, free: 14.83 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") [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.002222/0.002222, allocations: 63.91 kB / 0.9515 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.299, allocations: 169.9 MB / 1.117 GB, free: 2.531 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.7854/1.084, allocations: 148.2 MB / 1.262 GB, free: 12.18 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02484/1.109, allocations: 15.93 MB / 1.278 GB, free: 1.422 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001909/1.111, allocations: 38.5 kB / 1.278 GB, free: 1.402 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001783/1.113, allocations: 0.5347 MB / 1.278 GB, free: 1.078 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.005686/1.119, allocations: 1.661 MB / 1.28 GB, free: 144 kB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003968/1.123, allocations: 1.355 MB / 1.281 GB, free: 15.4 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004417/1.127, allocations: 2.725 MB / 1.284 GB, free: 14.04 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002715/1.13, allocations: 1.517 MB / 1.285 GB, free: 13.24 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005026/1.135, allocations: 1.44 MB / 1.287 GB, free: 12.62 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002191/1.137, allocations: 0.9149 MB / 1.288 GB, free: 12.21 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0004976/1.137, allocations: 214 kB / 1.288 GB, free: 12.2 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00339/1.141, allocations: 1.286 MB / 1.289 GB, free: 11.84 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0006664/1.141, allocations: 0.5633 MB / 1.29 GB, free: 11.49 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001333/1.143, allocations: 0.8595 MB / 1.291 GB, free: 11.01 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.006808/1.15, allocations: 3.169 MB / 1.294 GB, free: 9.746 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/1.15, allocations: 1.469 kB / 1.294 GB, free: 9.746 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.793e-06/1.15, allocations: 0 / 1.294 GB, free: 9.746 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.274e-05/1.15, allocations: 0 / 1.294 GB, free: 9.746 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.005354/1.155, allocations: 2.29 MB / 1.296 GB, free: 8.328 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/1.155, allocations: 9 kB / 1.296 GB, free: 8.328 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004845/1.16, allocations: 0.5781 MB / 1.296 GB, free: 8.188 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002725/1.163, allocations: 1.059 MB / 1.297 GB, free: 7.562 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/1.163, allocations: 129.6 kB / 1.298 GB, free: 7.504 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002993/1.163, allocations: 162.8 kB / 1.298 GB, free: 7.453 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004286/1.167, allocations: 2.602 MB / 1.3 GB, free: 5.758 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.827e-05/1.167, allocations: 5.188 kB / 1.3 GB, free: 5.754 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002179/1.168, allocations: 73.28 kB / 1.3 GB, free: 5.699 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.079e-05/1.168, allocations: 41.91 kB / 1.3 GB, free: 5.699 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003728/1.171, allocations: 1.828 MB / 1.302 GB, free: 5.031 MB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009094/1.18, allocations: 3.723 MB / 1.306 GB, free: 2.422 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003244/1.184, allocations: 1.366 MB / 1.307 GB, free: 1.742 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001203/1.185, allocations: 0.5925 MB / 1.308 GB, free: 1.438 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001082/1.186, allocations: 179.1 kB / 1.308 GB, free: 1.367 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002072/1.188, allocations: 1.5 MB / 1.309 GB, free: 68 kB / 1.139 GB Notification: Performance of pre-optimization done (n=146): time 3.587e-06/1.188, allocations: 5.156 kB / 1.309 GB, free: 64 kB / 1.139 GB Notification: Performance of matching and sorting (n=146): time 0.006518/1.195, allocations: 2.183 MB / 1.311 GB, free: 14.97 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/1.195, allocations: 197.1 kB / 1.312 GB, free: 14.75 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/1.196, allocations: 0.764 MB / 1.312 GB, free: 14.3 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001571/1.196, allocations: 56.89 kB / 1.312 GB, free: 14.25 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006275/1.197, allocations: 0.6697 MB / 1.313 GB, free: 13.66 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.00047/1.197, allocations: 0.4923 MB / 1.314 GB, free: 13.22 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004088/1.197, allocations: 258.6 kB / 1.314 GB, free: 13.07 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002035/1.198, allocations: 359.6 kB / 1.314 GB, free: 12.73 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/1.199, allocations: 495.5 kB / 1.315 GB, free: 12.48 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/1.2, allocations: 0.8729 MB / 1.316 GB, free: 11.82 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002247/1.202, allocations: 1.122 MB / 1.317 GB, free: 11.23 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/1.202, allocations: 0 / 1.317 GB, free: 11.23 MB / 1.154 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003843/1.206, allocations: 1.542 MB / 1.318 GB, free: 9.996 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/1.206, allocations: 7.938 kB / 1.318 GB, free: 9.988 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/1.206, allocations: 0 / 1.318 GB, free: 9.988 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009888/1.207, allocations: 196.2 kB / 1.318 GB, free: 9.781 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001689/1.209, allocations: 339.5 kB / 1.319 GB, free: 9.449 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006447/1.215, allocations: 6.646 MB / 1.325 GB, free: 2.289 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/1.217, allocations: 135.3 kB / 1.325 GB, free: 2.156 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001518/1.217, allocations: 59.95 kB / 1.325 GB, free: 2.098 MB / 1.154 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 (156): * Single equations (assignments): 151 * 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.0009126/1.218, allocations: 375.5 kB / 1.326 GB, free: 1.723 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003625/1.219, allocations: 135.1 kB / 1.326 GB, free: 1.59 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004468/1.223, allocations: 1.833 MB / 1.328 GB, free: 15.73 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/1.223, allocations: 19.98 kB / 1.328 GB, free: 15.71 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/1.223, allocations: 3.938 kB / 1.328 GB, free: 15.7 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/1.223, allocations: 11.97 kB / 1.328 GB, free: 15.69 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006301/1.229, allocations: 2.996 MB / 1.331 GB, free: 12.64 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/1.229, allocations: 4 kB / 1.331 GB, free: 12.64 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001507/1.231, allocations: 307.6 kB / 1.331 GB, free: 12.34 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007783/1.232, allocations: 184.1 kB / 1.331 GB, free: 12.14 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/1.232, allocations: 39.97 kB / 1.331 GB, free: 12.1 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006147/1.238, allocations: 6.676 MB / 1.338 GB, free: 4.91 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.238, allocations: 3.938 kB / 1.338 GB, free: 4.906 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004178/1.242, allocations: 1.71 MB / 1.339 GB, free: 3.164 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008912/1.243, allocations: 322.6 kB / 1.34 GB, free: 2.848 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002057/1.243, allocations: 32 kB / 1.34 GB, free: 2.816 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/1.244, allocations: 99.08 kB / 1.34 GB, free: 2.723 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002971/1.245, allocations: 117.1 kB / 1.34 GB, free: 2.605 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001822/1.245, allocations: 79.88 kB / 1.34 GB, free: 2.527 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0008814/1.246, allocations: 0.5302 MB / 1.34 GB, free: 2.004 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/1.246, allocations: 0 / 1.34 GB, free: 2.004 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002823/1.249, allocations: 0.6194 MB / 1.341 GB, free: 1.383 MB / 1.17 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.002522/1.251, allocations: 0.7642 MB / 1.342 GB, free: 0.8281 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003659/1.255, allocations: 1.817 MB / 1.344 GB, free: 14.95 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/1.255, allocations: 4.656 kB / 1.344 GB, free: 14.94 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.002135/1.257, allocations: 1.247 MB / 1.345 GB, free: 13.63 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002579/1.26, allocations: 0.4945 MB / 1.345 GB, free: 13.16 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005586/1.265, allocations: 2.85 MB / 1.348 GB, free: 10.28 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008219/1.266, allocations: 0.7251 MB / 1.349 GB, free: 9.52 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001671/1.268, allocations: 425.7 kB / 1.349 GB, free: 9.102 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004326/1.268, allocations: 148.4 kB / 1.349 GB, free: 8.957 MB / 1.186 GB Notification: Performance of SimCode: time 8.72e-07/1.268, allocations: 0 / 1.349 GB, free: 8.957 MB / 1.186 GB Notification: Performance of Templates: time 0.04862/1.317, allocations: 27.42 MB / 1.376 GB, free: 14.07 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.17731267795898]