Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001172/0.001172, allocations: 107.6 kB / 16.41 MB, free: 6.508 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.001156/0.001156, allocations: 187 kB / 17.34 MB, free: 5.742 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.526/2.526, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 60.11 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7621/0.7635, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1788/0.9423, allocations: 168.3 MB / 1.373 GB, free: 4.656 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02243/0.9648, allocations: 17.07 MB / 1.389 GB, free: 3.535 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001999/0.9668, allocations: 27.81 kB / 1.389 GB, free: 3.508 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002228/0.9691, allocations: 0.5584 MB / 1.39 GB, free: 2.945 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.005477/0.9746, allocations: 1.597 MB / 1.392 GB, free: 1.344 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003925/0.9786, allocations: 1.339 MB / 1.393 GB, free: 16 kB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.00407/0.9827, allocations: 2.703 MB / 1.395 GB, free: 13.3 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003307/0.986, allocations: 1.878 MB / 1.397 GB, free: 11.37 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004254/0.9903, allocations: 1.361 MB / 1.399 GB, free: 10.05 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001634/0.9919, allocations: 0.9841 MB / 1.4 GB, free: 9.066 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0005677/0.9925, allocations: 208 kB / 1.4 GB, free: 8.863 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003415/0.9959, allocations: 1.423 MB / 1.401 GB, free: 7.438 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0007291/0.9967, allocations: 0.5568 MB / 1.402 GB, free: 6.879 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001652/0.9983, allocations: 1.038 MB / 1.403 GB, free: 5.836 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005187/1.004, allocations: 3.119 MB / 1.406 GB, free: 2.707 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.004, allocations: 0 / 1.406 GB, free: 2.707 MB / 1.123 GB Notification: Performance of FrontEnd: time 8.115e-06/1.004, allocations: 0 / 1.406 GB, free: 2.707 MB / 1.123 GB Notification: Performance of Transformations before backend: time 9.43e-05/1.004, allocations: 3.938 kB / 1.406 GB, free: 2.703 MB / 1.123 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.004976/1.009, allocations: 2.283 MB / 1.408 GB, free: 364 kB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/1.009, allocations: 12.03 kB / 1.408 GB, free: 352 kB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003868/1.013, allocations: 0.5088 MB / 1.409 GB, free: 15.83 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002008/1.015, allocations: 1.113 MB / 1.41 GB, free: 14.68 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/1.015, allocations: 127.4 kB / 1.41 GB, free: 14.55 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000357/1.015, allocations: 168 kB / 1.41 GB, free: 14.39 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003688/1.019, allocations: 1.843 MB / 1.412 GB, free: 12.49 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.372e-05/1.019, allocations: 0 / 1.412 GB, free: 12.49 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000198/1.019, allocations: 76 kB / 1.412 GB, free: 12.42 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.332e-05/1.019, allocations: 47.94 kB / 1.412 GB, free: 12.37 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003451/1.023, allocations: 1.875 MB / 1.414 GB, free: 10.49 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.008962/1.032, allocations: 5.496 MB / 1.419 GB, free: 4.66 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003254/1.035, allocations: 1.769 MB / 1.421 GB, free: 2.816 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001217/1.036, allocations: 0.6519 MB / 1.421 GB, free: 2.164 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008751/1.037, allocations: 0.8 MB / 1.422 GB, free: 1.199 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001714/1.039, allocations: 0.8996 MB / 1.423 GB, free: 284 kB / 1.139 GB Notification: Performance of pre-optimization done (n=146): time 3.256e-06/1.039, allocations: 0 / 1.423 GB, free: 284 kB / 1.139 GB Notification: Performance of matching and sorting (n=146): time 0.006422/1.045, allocations: 2.552 MB / 1.426 GB, free: 13.61 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/1.045, allocations: 201.2 kB / 1.426 GB, free: 13.38 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/1.047, allocations: 0.8383 MB / 1.427 GB, free: 12.51 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001862/1.047, allocations: 53.7 kB / 1.427 GB, free: 12.45 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005918/1.047, allocations: 0.6407 MB / 1.427 GB, free: 11.8 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004594/1.048, allocations: 484.9 kB / 1.428 GB, free: 11.32 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004237/1.048, allocations: 250.8 kB / 1.428 GB, free: 11.07 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001396/1.048, allocations: 361.9 kB / 1.428 GB, free: 10.71 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/1.049, allocations: 494.3 kB / 1.429 GB, free: 10.23 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001206/1.051, allocations: 0.6346 MB / 1.429 GB, free: 9.562 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002256/1.053, allocations: 1.122 MB / 1.43 GB, free: 8.43 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/1.053, allocations: 0 / 1.43 GB, free: 8.43 MB / 1.154 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003725/1.057, allocations: 1.546 MB / 1.432 GB, free: 6.859 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/1.057, allocations: 11.98 kB / 1.432 GB, free: 6.848 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/1.057, allocations: 0 / 1.432 GB, free: 6.848 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009331/1.058, allocations: 196.2 kB / 1.432 GB, free: 6.641 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/1.059, allocations: 335.6 kB / 1.432 GB, free: 6.312 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005971/1.065, allocations: 7.283 MB / 1.44 GB, free: 14.32 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/1.067, allocations: 148.7 kB / 1.44 GB, free: 14.18 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002569/1.067, allocations: 51.97 kB / 1.44 GB, free: 14.13 MB / 1.17 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.001024/1.068, allocations: 383.3 kB / 1.44 GB, free: 13.74 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004694/1.069, allocations: 138.6 kB / 1.44 GB, free: 13.61 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004355/1.073, allocations: 1.842 MB / 1.442 GB, free: 11.74 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/1.073, allocations: 16 kB / 1.442 GB, free: 11.72 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/1.073, allocations: 4 kB / 1.442 GB, free: 11.72 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.645e-05/1.073, allocations: 7.969 kB / 1.442 GB, free: 11.71 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006569/1.08, allocations: 3.436 MB / 1.445 GB, free: 8.195 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/1.08, allocations: 0 / 1.445 GB, free: 8.195 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001437/1.081, allocations: 311.6 kB / 1.446 GB, free: 7.891 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007666/1.082, allocations: 184.1 kB / 1.446 GB, free: 7.695 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001553/1.082, allocations: 43.95 kB / 1.446 GB, free: 7.652 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005762/1.088, allocations: 7.315 MB / 1.453 GB, free: 15.62 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.088, allocations: 4 kB / 1.453 GB, free: 15.62 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004153/1.092, allocations: 1.713 MB / 1.455 GB, free: 13.87 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008089/1.093, allocations: 402.9 kB / 1.455 GB, free: 13.46 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002876/1.093, allocations: 32 kB / 1.455 GB, free: 13.43 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001296/1.095, allocations: 98.7 kB / 1.455 GB, free: 13.33 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002517/1.095, allocations: 117.1 kB / 1.455 GB, free: 13.22 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001854/1.095, allocations: 79.88 kB / 1.456 GB, free: 13.14 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0008744/1.096, allocations: 0.5745 MB / 1.456 GB, free: 12.55 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.7e-07/1.096, allocations: 4 kB / 1.456 GB, free: 12.55 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001672/1.098, allocations: 0.5923 MB / 1.457 GB, free: 11.95 MB / 1.186 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.001852/1.099, allocations: 0.7233 MB / 1.457 GB, free: 11.42 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.003382/1.103, allocations: 1.871 MB / 1.459 GB, free: 9.48 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 8.856e-06/1.103, allocations: 4.562 kB / 1.459 GB, free: 9.477 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001996/1.105, allocations: 1.313 MB / 1.46 GB, free: 8.102 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002501/1.107, allocations: 0.5193 MB / 1.461 GB, free: 7.598 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005323/1.113, allocations: 2.832 MB / 1.464 GB, free: 4.734 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000982/1.114, allocations: 1.296 MB / 1.465 GB, free: 3.406 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006436/1.114, allocations: 179.3 kB / 1.465 GB, free: 3.23 MB / 1.186 GB Notification: Performance of SimCode: time 7.72e-07/1.114, allocations: 0 / 1.465 GB, free: 3.23 MB / 1.186 GB Notification: Performance of Templates: time 0.06087/1.175, allocations: 57.75 MB / 1.522 GB, free: 9.488 MB / 1.248 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches