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.001603/0.001603, allocations: 105.7 kB / 16.41 MB, free: 6.488 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.001287/0.001287, allocations: 187 kB / 17.34 MB, free: 5.73 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.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.23/2.23, allocations: 390.2 MB / 0.6655 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 71.89 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8878/0.8896, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.2176/1.107, allocations: 167.1 MB / 1.252 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02396/1.131, allocations: 16.91 MB / 1.268 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001999/1.133, allocations: 31.81 kB / 1.268 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002214/1.136, allocations: 0.5236 MB / 1.269 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005624/1.141, allocations: 1.55 MB / 1.27 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003917/1.145, allocations: 1.316 MB / 1.272 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003837/1.149, allocations: 2.502 MB / 1.274 GB, free: 15.81 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003321/1.152, allocations: 1.936 MB / 1.276 GB, free: 13.83 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004426/1.157, allocations: 1.358 MB / 1.277 GB, free: 12.52 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001661/1.158, allocations: 0.949 MB / 1.278 GB, free: 11.57 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0006475/1.159, allocations: 204 kB / 1.278 GB, free: 11.37 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003401/1.163, allocations: 1.435 MB / 1.28 GB, free: 9.93 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008503/1.163, allocations: 0.5452 MB / 1.28 GB, free: 9.383 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001867/1.165, allocations: 0.9989 MB / 1.281 GB, free: 8.379 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006044/1.171, allocations: 3.045 MB / 1.284 GB, free: 5.324 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.086e-06/1.171, allocations: 0 / 1.284 GB, free: 5.324 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.354e-06/1.171, allocations: 0 / 1.284 GB, free: 5.324 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.081e-05/1.171, allocations: 0 / 1.284 GB, free: 5.324 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.005595/1.177, allocations: 2.248 MB / 1.286 GB, free: 3.012 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/1.177, allocations: 8.031 kB / 1.286 GB, free: 3.004 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004013/1.181, allocations: 0.5128 MB / 1.287 GB, free: 2.488 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002385/1.184, allocations: 1.117 MB / 1.288 GB, free: 1.328 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001525/1.184, allocations: 135.3 kB / 1.288 GB, free: 1.195 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004257/1.184, allocations: 168 kB / 1.288 GB, free: 1.031 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00479/1.189, allocations: 1.852 MB / 1.29 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.56e-05/1.189, allocations: 0 / 1.29 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000253/1.189, allocations: 68 kB / 1.29 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.445e-05/1.189, allocations: 44 kB / 1.29 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003868/1.193, allocations: 1.875 MB / 1.292 GB, free: 13.14 MB / 1.029 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.00938/1.203, allocations: 5.125 MB / 1.297 GB, free: 7.766 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003421/1.206, allocations: 1.759 MB / 1.299 GB, free: 5.926 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/1.207, allocations: 0.652 MB / 1.299 GB, free: 5.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009566/1.208, allocations: 0.8038 MB / 1.3 GB, free: 4.301 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001824/1.21, allocations: 0.8918 MB / 1.301 GB, free: 3.387 MB / 1.029 GB Notification: Performance of pre-optimization done (n=146): time 4.488e-06/1.21, allocations: 0 / 1.301 GB, free: 3.387 MB / 1.029 GB Notification: Performance of matching and sorting (n=146): time 0.006512/1.217, allocations: 2.56 MB / 1.304 GB, free: 0.7148 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/1.217, allocations: 201.1 kB / 1.304 GB, free: 488 kB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/1.218, allocations: 0.8346 MB / 1.305 GB, free: 15.61 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002065/1.219, allocations: 57.7 kB / 1.305 GB, free: 15.55 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006695/1.219, allocations: 0.6407 MB / 1.305 GB, free: 14.9 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005086/1.22, allocations: 488.8 kB / 1.306 GB, free: 14.42 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004779/1.22, allocations: 254.8 kB / 1.306 GB, free: 14.16 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001642/1.221, allocations: 357.9 kB / 1.306 GB, free: 13.8 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/1.222, allocations: 490.3 kB / 1.307 GB, free: 13.33 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/1.223, allocations: 0.6462 MB / 1.307 GB, free: 12.65 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002346/1.225, allocations: 1.122 MB / 1.309 GB, free: 11.52 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/1.225, allocations: 0 / 1.309 GB, free: 11.52 MB / 1.045 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003948/1.229, allocations: 1.546 MB / 1.31 GB, free: 9.953 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/1.229, allocations: 12.09 kB / 1.31 GB, free: 9.941 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/1.229, allocations: 0 / 1.31 GB, free: 9.941 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000956/1.23, allocations: 184.1 kB / 1.31 GB, free: 9.746 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001599/1.232, allocations: 339.5 kB / 1.311 GB, free: 9.414 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006714/1.239, allocations: 7.281 MB / 1.318 GB, free: 1.426 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/1.24, allocations: 150.7 kB / 1.318 GB, free: 1.277 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002945/1.241, allocations: 64.02 kB / 1.318 GB, free: 1.215 MB / 1.045 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.001158/1.242, allocations: 379.3 kB / 1.318 GB, free: 0.8359 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005334/1.242, allocations: 130.5 kB / 1.318 GB, free: 0.707 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004783/1.247, allocations: 1.85 MB / 1.32 GB, free: 14.83 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/1.247, allocations: 20 kB / 1.32 GB, free: 14.81 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/1.247, allocations: 0 / 1.32 GB, free: 14.81 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.859e-05/1.247, allocations: 11.97 kB / 1.32 GB, free: 14.8 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007111/1.254, allocations: 3.436 MB / 1.324 GB, free: 11.28 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/1.254, allocations: 0 / 1.324 GB, free: 11.28 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001495/1.256, allocations: 315.5 kB / 1.324 GB, free: 10.97 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008052/1.257, allocations: 188.1 kB / 1.324 GB, free: 10.77 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001524/1.257, allocations: 39.97 kB / 1.324 GB, free: 10.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006536/1.263, allocations: 7.311 MB / 1.331 GB, free: 2.719 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.263, allocations: 0 / 1.331 GB, free: 2.719 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004403/1.268, allocations: 1.717 MB / 1.333 GB, free: 0.9648 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009756/1.269, allocations: 399.2 kB / 1.333 GB, free: 0.5547 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003777/1.269, allocations: 32 kB / 1.333 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/1.271, allocations: 103.6 kB / 1.333 GB, free: 436 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002884/1.271, allocations: 113.1 kB / 1.334 GB, free: 324 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002147/1.271, allocations: 71.95 kB / 1.334 GB, free: 252 kB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001182/1.272, allocations: 0.5784 MB / 1.334 GB, free: 15.66 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.51e-07/1.272, allocations: 0 / 1.334 GB, free: 15.66 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002148/1.275, allocations: 0.5766 MB / 1.335 GB, free: 15.08 MB / 1.076 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.00213/1.277, allocations: 0.7326 MB / 1.335 GB, free: 14.53 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003767/1.28, allocations: 1.867 MB / 1.337 GB, free: 12.6 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/1.281, allocations: 0.5625 kB / 1.337 GB, free: 12.6 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002141/1.283, allocations: 1.305 MB / 1.339 GB, free: 11.23 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002511/1.285, allocations: 0.5016 MB / 1.339 GB, free: 10.74 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006909/1.292, allocations: 2.941 MB / 1.342 GB, free: 7.77 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001174/1.293, allocations: 1.296 MB / 1.343 GB, free: 6.441 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006545/1.294, allocations: 175.3 kB / 1.343 GB, free: 6.27 MB / 1.076 GB Notification: Performance of SimCode: time 7.32e-07/1.294, allocations: 0 / 1.343 GB, free: 6.27 MB / 1.076 GB Notification: Performance of Templates: time 0.06458/1.359, allocations: 57.37 MB / 1.399 GB, free: 12.89 MB / 1.139 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/jenkins1/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