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.008865/0.008865, allocations: 101.3 kB / 15.73 MB, free: 6.469 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.001539/0.00154, allocations: 193.5 kB / 16.67 MB, free: 6.379 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.689/2.689, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 63.91 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3132, allocations: 157.4 MB / 1.208 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.8327/1.146, allocations: 168.3 MB / 1.372 GB, free: 276 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02433/1.17, allocations: 17.07 MB / 1.389 GB, free: 3.328 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002871/1.173, allocations: 31.34 kB / 1.389 GB, free: 3.316 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002294/1.176, allocations: 0.5474 MB / 1.389 GB, free: 2.848 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006829/1.183, allocations: 1.613 MB / 1.391 GB, free: 1.609 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004644/1.187, allocations: 1.335 MB / 1.392 GB, free: 0.5977 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.005133/1.192, allocations: 2.693 MB / 1.395 GB, free: 14.98 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003136/1.196, allocations: 1.88 MB / 1.397 GB, free: 13.73 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004804/1.2, allocations: 1.367 MB / 1.398 GB, free: 12.98 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002166/1.203, allocations: 0.9909 MB / 1.399 GB, free: 12.3 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0004025/1.203, allocations: 210.5 kB / 1.399 GB, free: 12.3 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003699/1.207, allocations: 1.421 MB / 1.401 GB, free: 11.63 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005327/1.207, allocations: 0.5582 MB / 1.401 GB, free: 11.19 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001311/1.209, allocations: 1.032 MB / 1.402 GB, free: 10.47 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005081/1.214, allocations: 3.106 MB / 1.405 GB, free: 8.297 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.214, allocations: 4.594 kB / 1.405 GB, free: 8.293 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.564e-06/1.214, allocations: 0 / 1.405 GB, free: 8.293 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.016e-05/1.214, allocations: 1.312 kB / 1.405 GB, free: 8.293 MB / 1.092 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.004464/1.218, allocations: 2.286 MB / 1.407 GB, free: 6.594 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/1.218, allocations: 9.094 kB / 1.407 GB, free: 6.594 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00351/1.222, allocations: 0.5138 MB / 1.408 GB, free: 6.355 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002035/1.224, allocations: 1.115 MB / 1.409 GB, free: 5.484 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/1.224, allocations: 129.8 kB / 1.409 GB, free: 5.426 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/1.224, allocations: 162.1 kB / 1.409 GB, free: 5.375 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003162/1.227, allocations: 1.851 MB / 1.411 GB, free: 4.258 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.446e-05/1.227, allocations: 4.938 kB / 1.411 GB, free: 4.254 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000146/1.227, allocations: 73.88 kB / 1.411 GB, free: 4.199 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.544e-05/1.228, allocations: 46.05 kB / 1.411 GB, free: 4.195 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003325/1.231, allocations: 1.871 MB / 1.413 GB, free: 3.301 MB / 1.092 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.009047/1.24, allocations: 5.492 MB / 1.418 GB, free: 14.71 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003076/1.243, allocations: 1.769 MB / 1.42 GB, free: 12.87 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001148/1.244, allocations: 0.6522 MB / 1.421 GB, free: 12.21 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008984/1.245, allocations: 0.8038 MB / 1.421 GB, free: 11.25 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001683/1.247, allocations: 0.8957 MB / 1.422 GB, free: 10.33 MB / 1.107 GB Notification: Performance of pre-optimization done (n=146): time 4.028e-06/1.247, allocations: 0 / 1.422 GB, free: 10.33 MB / 1.107 GB Notification: Performance of matching and sorting (n=146): time 0.006228/1.253, allocations: 2.548 MB / 1.425 GB, free: 7.668 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/1.253, allocations: 205.2 kB / 1.425 GB, free: 7.426 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/1.254, allocations: 0.8383 MB / 1.426 GB, free: 6.562 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001706/1.255, allocations: 57.7 kB / 1.426 GB, free: 6.5 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005609/1.255, allocations: 0.6368 MB / 1.427 GB, free: 5.852 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004156/1.256, allocations: 488.9 kB / 1.427 GB, free: 5.367 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003893/1.256, allocations: 254.8 kB / 1.427 GB, free: 5.109 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001322/1.256, allocations: 353.9 kB / 1.428 GB, free: 4.758 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009853/1.257, allocations: 498.3 kB / 1.428 GB, free: 4.273 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/1.258, allocations: 0.6385 MB / 1.429 GB, free: 3.605 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002137/1.26, allocations: 1.126 MB / 1.43 GB, free: 2.473 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/1.26, allocations: 0 / 1.43 GB, free: 2.473 MB / 1.107 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003641/1.264, allocations: 1.55 MB / 1.431 GB, free: 0.8984 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/1.264, allocations: 6.656 kB / 1.431 GB, free: 0.8945 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/1.264, allocations: 4.094 kB / 1.431 GB, free: 0.8906 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009216/1.265, allocations: 196.2 kB / 1.432 GB, free: 0.6836 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/1.267, allocations: 347.4 kB / 1.432 GB, free: 352 kB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006746/1.273, allocations: 7.279 MB / 1.439 GB, free: 8.359 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/1.275, allocations: 150.9 kB / 1.439 GB, free: 8.211 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/1.275, allocations: 55.97 kB / 1.439 GB, free: 8.156 MB / 1.123 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.0008683/1.276, allocations: 375.3 kB / 1.439 GB, free: 7.777 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003361/1.277, allocations: 130.4 kB / 1.44 GB, free: 7.648 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004197/1.281, allocations: 1.839 MB / 1.441 GB, free: 5.781 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/1.281, allocations: 20 kB / 1.441 GB, free: 5.762 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/1.281, allocations: 4 kB / 1.441 GB, free: 5.758 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.72e-05/1.281, allocations: 7.969 kB / 1.441 GB, free: 5.75 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006632/1.287, allocations: 3.444 MB / 1.445 GB, free: 2.227 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/1.288, allocations: 0 / 1.445 GB, free: 2.227 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00144/1.289, allocations: 319.6 kB / 1.445 GB, free: 1.914 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007637/1.29, allocations: 176.1 kB / 1.445 GB, free: 1.727 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/1.29, allocations: 43.95 kB / 1.445 GB, free: 1.684 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005673/1.296, allocations: 7.318 MB / 1.452 GB, free: 9.66 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/1.296, allocations: 4.125 kB / 1.452 GB, free: 9.656 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004205/1.3, allocations: 1.709 MB / 1.454 GB, free: 7.91 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008944/1.301, allocations: 402.9 kB / 1.455 GB, free: 7.496 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/1.301, allocations: 31.94 kB / 1.455 GB, free: 7.465 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/1.302, allocations: 103.9 kB / 1.455 GB, free: 7.363 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002728/1.302, allocations: 109.2 kB / 1.455 GB, free: 7.258 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001535/1.303, allocations: 71.94 kB / 1.455 GB, free: 7.188 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0008277/1.303, allocations: 0.5745 MB / 1.455 GB, free: 6.602 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.6e-07/1.303, allocations: 0 / 1.455 GB, free: 6.602 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001789/1.305, allocations: 0.6039 MB / 1.456 GB, free: 5.996 MB / 1.139 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.001835/1.307, allocations: 0.7231 MB / 1.457 GB, free: 5.453 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003389/1.31, allocations: 1.856 MB / 1.458 GB, free: 3.531 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/1.31, allocations: 4.562 kB / 1.459 GB, free: 3.527 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002023/1.312, allocations: 1.305 MB / 1.46 GB, free: 2.16 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002585/1.315, allocations: 0.5332 MB / 1.46 GB, free: 1.648 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005288/1.32, allocations: 2.776 MB / 1.463 GB, free: 14.84 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008349/1.321, allocations: 1.298 MB / 1.464 GB, free: 13.52 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001708/1.323, allocations: 442.4 kB / 1.465 GB, free: 13.08 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004536/1.323, allocations: 147.4 kB / 1.465 GB, free: 12.93 MB / 1.154 GB Notification: Performance of SimCode: time 8.42e-07/1.323, allocations: 0 / 1.465 GB, free: 12.93 MB / 1.154 GB Notification: Performance of Templates: time 0.04576/1.369, allocations: 28.43 MB / 1.493 GB, free: 0.8242 MB / 1.17 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/jenkins/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