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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.00115/0.001151, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 182.4 kB / 16.92 MB, free: 6.922 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.434/1.434, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.697/2.697, allocations: 462.7 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003539, allocations: 9.469 kB / 0.9034 GB, free: 36.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3329, allocations: 159.6 MB / 1.059 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1804/0.5134, allocations: 163.7 MB / 1.219 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02279/0.5363, allocations: 16.87 MB / 1.236 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001882/0.5382, allocations: 23.88 kB / 1.236 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00204/0.5403, allocations: 473.1 kB / 1.236 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005164/0.5455, allocations: 1.437 MB / 1.238 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003646/0.5491, allocations: 1.171 MB / 1.239 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004032/0.5532, allocations: 2.84 MB / 1.241 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003065/0.5563, allocations: 1.609 MB / 1.243 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00548/0.5618, allocations: 1.032 MB / 1.244 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001634/0.5635, allocations: 0.7694 MB / 1.245 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004811/0.564, allocations: 40 kB / 1.245 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003602/0.5676, allocations: 1.403 MB / 1.246 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007133/0.5683, allocations: 358.3 kB / 1.247 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00161/0.5699, allocations: 0.8405 MB / 1.247 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003668/0.5736, allocations: 2.237 MB / 1.25 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.5737, allocations: 11.88 kB / 1.25 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.508e-06/0.5737, allocations: 0 / 1.25 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001127/0.5738, allocations: 0 / 1.25 GB, free: 1.457 MB / 0.9981 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.6627/1.236, allocations: 1.874 MB / 1.251 GB, free: 42.43 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/1.237, allocations: 13.91 kB / 1.251 GB, free: 42.43 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004255/1.241, allocations: 0.523 MB / 1.252 GB, free: 42.32 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002415/1.243, allocations: 1.086 MB / 1.253 GB, free: 41.95 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001489/1.243, allocations: 129.1 kB / 1.253 GB, free: 41.95 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003164/1.244, allocations: 166.2 kB / 1.253 GB, free: 41.95 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003806/1.248, allocations: 1.849 MB / 1.255 GB, free: 41.77 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.289e-05/1.248, allocations: 0 / 1.255 GB, free: 41.77 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001926/1.248, allocations: 77.66 kB / 1.255 GB, free: 41.77 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-05/1.248, allocations: 41.84 kB / 1.255 GB, free: 41.77 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003042/1.251, allocations: 1.882 MB / 1.257 GB, free: 41.75 MB / 0.9981 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.009189/1.26, allocations: 5.57 MB / 1.262 GB, free: 39.52 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002961/1.263, allocations: 1.767 MB / 1.264 GB, free: 39.11 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001154/1.264, allocations: 0.6657 MB / 1.265 GB, free: 39.09 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007696/1.265, allocations: 0.8146 MB / 1.266 GB, free: 38.25 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001696/1.267, allocations: 0.8971 MB / 1.267 GB, free: 38.16 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 4.96e-06/1.267, allocations: 0 / 1.267 GB, free: 38.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.006801/1.274, allocations: 2.583 MB / 1.269 GB, free: 37.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.859e-05/1.274, allocations: 197.3 kB / 1.269 GB, free: 37.28 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/1.275, allocations: 0.8377 MB / 1.27 GB, free: 37.12 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002258/1.276, allocations: 59.08 kB / 1.27 GB, free: 37.09 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000593/1.276, allocations: 0.6369 MB / 1.271 GB, free: 36.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004795/1.277, allocations: 488.6 kB / 1.271 GB, free: 36.49 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/1.277, allocations: 107.1 kB / 1.271 GB, free: 36.47 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001125/1.277, allocations: 356.9 kB / 1.272 GB, free: 36.17 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/1.278, allocations: 499 kB / 1.272 GB, free: 36.16 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001357/1.28, allocations: 0.6452 MB / 1.273 GB, free: 36.07 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002653/1.282, allocations: 1.124 MB / 1.274 GB, free: 36.02 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/1.282, allocations: 5.234 kB / 1.274 GB, free: 36.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.004214/1.286, allocations: 1.562 MB / 1.275 GB, free: 35.83 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/1.286, allocations: 8.375 kB / 1.275 GB, free: 35.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/1.287, allocations: 0 / 1.275 GB, free: 35.83 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009574/1.287, allocations: 195.2 kB / 1.276 GB, free: 35.79 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/1.289, allocations: 336.5 kB / 1.276 GB, free: 35.79 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004879/1.294, allocations: 6.795 MB / 1.283 GB, free: 29.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001879/1.296, allocations: 182 kB / 1.283 GB, free: 29.39 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/1.296, allocations: 58.3 kB / 1.283 GB, free: 29.39 MB / 0.9981 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.0009727/1.297, allocations: 378.7 kB / 1.283 GB, free: 29.28 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002876/1.297, allocations: 128.2 kB / 1.283 GB, free: 29.21 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004452/1.302, allocations: 1.858 MB / 1.285 GB, free: 29.03 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.178e-05/1.302, allocations: 15.34 kB / 1.285 GB, free: 29.03 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/1.302, allocations: 4.969 kB / 1.285 GB, free: 29.03 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.351e-05/1.302, allocations: 7.594 kB / 1.285 GB, free: 29.03 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007038/1.309, allocations: 3.446 MB / 1.288 GB, free: 28.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/1.309, allocations: 0 / 1.288 GB, free: 28.58 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001509/1.311, allocations: 322.2 kB / 1.289 GB, free: 28.58 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008431/1.311, allocations: 196.1 kB / 1.289 GB, free: 28.53 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000141/1.312, allocations: 42.67 kB / 1.289 GB, free: 28.53 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004295/1.316, allocations: 6.803 MB / 1.296 GB, free: 22.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.316, allocations: 0.9375 kB / 1.296 GB, free: 22.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003983/1.32, allocations: 1.711 MB / 1.297 GB, free: 21.91 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008173/1.321, allocations: 424.7 kB / 1.298 GB, free: 21.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001886/1.321, allocations: 29.94 kB / 1.298 GB, free: 21.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001315/1.322, allocations: 153.5 kB / 1.298 GB, free: 21.71 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000306/1.323, allocations: 108.4 kB / 1.298 GB, free: 21.71 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001671/1.323, allocations: 72.86 kB / 1.298 GB, free: 21.71 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008522/1.324, allocations: 0.5766 MB / 1.299 GB, free: 21.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.7e-07/1.324, allocations: 0 / 1.299 GB, free: 21.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002077/1.326, allocations: 0.6048 MB / 1.299 GB, free: 21.52 MB / 0.9981 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.001766/1.327, allocations: 0.7357 MB / 1.3 GB, free: 21.32 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003434/1.331, allocations: 1.879 MB / 1.302 GB, free: 20.73 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/1.331, allocations: 3.219 kB / 1.302 GB, free: 20.73 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001963/1.333, allocations: 1.309 MB / 1.303 GB, free: 20.16 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002696/1.336, allocations: 497.6 kB / 1.303 GB, free: 20.12 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005604/1.341, allocations: 3.62 MB / 1.307 GB, free: 18.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008785/1.342, allocations: 1.299 MB / 1.308 GB, free: 17.56 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00082/1.343, allocations: 176.5 kB / 1.308 GB, free: 17.55 MB / 0.9981 GB Notification: Performance of SimCode: time 1.693e-06/1.343, allocations: 0 / 1.308 GB, free: 17.55 MB / 0.9981 GB Notification: Performance of Templates: time 0.06103/1.404, allocations: 57.39 MB / 1.365 GB, free: 3.508 MB / 1.014 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