Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01088/0.01088, allocations: 100.8 kB / 15.73 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001578/0.001579, allocations: 196.3 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.494/2.494, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 62.94 kB / 0.9508 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2731, allocations: 140.4 MB / 1.088 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1704/0.4435, allocations: 167.1 MB / 1.251 GB, free: 9.805 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.6496/1.093, allocations: 16.9 MB / 1.268 GB, free: 3.586 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00146/1.095, allocations: 28.19 kB / 1.268 GB, free: 3.586 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001518/1.096, allocations: 0.5276 MB / 1.268 GB, free: 3.586 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005345/1.102, allocations: 1.552 MB / 1.27 GB, free: 3.578 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003435/1.105, allocations: 1.316 MB / 1.271 GB, free: 3.547 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003689/1.109, allocations: 2.497 MB / 1.273 GB, free: 3.539 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003112/1.112, allocations: 1.941 MB / 1.275 GB, free: 3.309 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004692/1.117, allocations: 1.355 MB / 1.277 GB, free: 3.293 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00207/1.119, allocations: 0.9557 MB / 1.277 GB, free: 3.293 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005702/1.119, allocations: 206.9 kB / 1.278 GB, free: 3.293 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003399/1.123, allocations: 1.419 MB / 1.279 GB, free: 3.273 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005929/1.123, allocations: 0.5588 MB / 1.28 GB, free: 3.273 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001335/1.125, allocations: 0.9945 MB / 1.281 GB, free: 3.27 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005256/1.13, allocations: 3.041 MB / 1.284 GB, free: 2.859 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/1.13, allocations: 1.969 kB / 1.284 GB, free: 2.859 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.694e-06/1.13, allocations: 3.094 kB / 1.284 GB, free: 2.859 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.783e-05/1.13, allocations: 0 / 1.284 GB, free: 2.859 MB / 1.014 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.004558/1.135, allocations: 2.253 MB / 1.286 GB, free: 1.785 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/1.135, allocations: 9.734 kB / 1.286 GB, free: 1.785 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003653/1.138, allocations: 0.5079 MB / 1.286 GB, free: 1.684 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001851/1.14, allocations: 1.121 MB / 1.287 GB, free: 1.309 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.353e-05/1.14, allocations: 131.6 kB / 1.287 GB, free: 1.305 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002325/1.14, allocations: 163.2 kB / 1.288 GB, free: 1.305 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00346/1.144, allocations: 1.839 MB / 1.289 GB, free: 1.125 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.641e-05/1.144, allocations: 8.281 kB / 1.289 GB, free: 1.121 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001674/1.144, allocations: 74.33 kB / 1.29 GB, free: 1.121 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.016e-05/1.144, allocations: 42.38 kB / 1.29 GB, free: 1.121 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003447/1.148, allocations: 1.875 MB / 1.291 GB, free: 1.105 MB / 1.014 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.007917/1.156, allocations: 5.139 MB / 1.296 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003554/1.159, allocations: 1.752 MB / 1.298 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001504/1.161, allocations: 0.6538 MB / 1.299 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001222/1.162, allocations: 0.8056 MB / 1.3 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002015/1.164, allocations: 0.8946 MB / 1.3 GB, free: 13.9 MB / 1.029 GB Notification: Performance of pre-optimization done (n=146): time 4.018e-06/1.164, allocations: 0 / 1.3 GB, free: 13.9 MB / 1.029 GB Notification: Performance of matching and sorting (n=146): time 0.006527/1.171, allocations: 2.56 MB / 1.303 GB, free: 13.26 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/1.171, allocations: 196.5 kB / 1.303 GB, free: 13.04 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/1.172, allocations: 0.8398 MB / 1.304 GB, free: 12.88 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001603/1.172, allocations: 56.55 kB / 1.304 GB, free: 12.85 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005559/1.173, allocations: 0.6415 MB / 1.305 GB, free: 12.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004435/1.173, allocations: 482.9 kB / 1.305 GB, free: 12.24 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004506/1.174, allocations: 254.3 kB / 1.305 GB, free: 12.22 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001925/1.174, allocations: 361.5 kB / 1.306 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/1.175, allocations: 493.5 kB / 1.306 GB, free: 11.91 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/1.176, allocations: 0.6404 MB / 1.307 GB, free: 11.84 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00217/1.178, allocations: 1.119 MB / 1.308 GB, free: 11.78 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/1.178, allocations: 1.906 kB / 1.308 GB, free: 11.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003812/1.182, allocations: 1.545 MB / 1.309 GB, free: 11.61 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/1.182, allocations: 8.297 kB / 1.309 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/1.182, allocations: 1.5 kB / 1.309 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009179/1.183, allocations: 192.1 kB / 1.31 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001546/1.185, allocations: 339.4 kB / 1.31 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006355/1.191, allocations: 7.276 MB / 1.317 GB, free: 4.789 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/1.192, allocations: 155.7 kB / 1.317 GB, free: 4.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001871/1.193, allocations: 57.19 kB / 1.317 GB, free: 4.73 MB / 1.029 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.001018/1.194, allocations: 383.3 kB / 1.318 GB, free: 4.609 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004586/1.194, allocations: 128.4 kB / 1.318 GB, free: 4.547 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004305/1.198, allocations: 1.848 MB / 1.319 GB, free: 4.375 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/1.198, allocations: 16.03 kB / 1.319 GB, free: 4.375 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/1.198, allocations: 4.469 kB / 1.319 GB, free: 4.375 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-05/1.199, allocations: 9.578 kB / 1.319 GB, free: 4.375 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006618/1.205, allocations: 3.441 MB / 1.323 GB, free: 3.926 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/1.205, allocations: 3.594 kB / 1.323 GB, free: 3.926 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/1.207, allocations: 312.4 kB / 1.323 GB, free: 3.926 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007295/1.207, allocations: 182.1 kB / 1.323 GB, free: 3.887 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001234/1.207, allocations: 48.75 kB / 1.323 GB, free: 3.887 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005504/1.213, allocations: 7.312 MB / 1.331 GB, free: 13.1 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.213, allocations: 0.9375 kB / 1.331 GB, free: 13.1 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003977/1.217, allocations: 1.713 MB / 1.332 GB, free: 12.76 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009383/1.218, allocations: 399.6 kB / 1.333 GB, free: 12.49 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003432/1.218, allocations: 28.94 kB / 1.333 GB, free: 12.47 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/1.22, allocations: 110.8 kB / 1.333 GB, free: 12.45 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002671/1.22, allocations: 115.1 kB / 1.333 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000198/1.22, allocations: 68.5 kB / 1.333 GB, free: 12.42 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0009527/1.221, allocations: 0.5756 MB / 1.333 GB, free: 12.16 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.7e-07/1.221, allocations: 0 / 1.333 GB, free: 12.16 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00199/1.223, allocations: 0.5813 MB / 1.334 GB, free: 12 MB / 1.045 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.002041/1.225, allocations: 0.7294 MB / 1.335 GB, free: 11.73 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003429/1.229, allocations: 1.871 MB / 1.337 GB, free: 10.76 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/1.229, allocations: 3.5 kB / 1.337 GB, free: 10.76 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002046/1.231, allocations: 1.302 MB / 1.338 GB, free: 9.977 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002299/1.233, allocations: 0.5053 MB / 1.338 GB, free: 9.805 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006291/1.239, allocations: 2.884 MB / 1.341 GB, free: 8.445 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/1.24, allocations: 1.3 MB / 1.342 GB, free: 7.68 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001655/1.242, allocations: 429.6 kB / 1.343 GB, free: 7.543 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004646/1.242, allocations: 150.6 kB / 1.343 GB, free: 7.523 MB / 1.045 GB Notification: Performance of SimCode: time 6.22e-07/1.242, allocations: 4 kB / 1.343 GB, free: 7.52 MB / 1.045 GB Notification: Performance of Templates: time 0.0498/1.292, allocations: 27.13 MB / 1.369 GB, free: 13.71 MB / 1.061 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches