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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001498/0.001498, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001763/0.001763, allocations: 189 kB / 16.25 MB, free: 6.633 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.485/1.485, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.833/2.833, allocations: 472.6 MB / 0.7448 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 63.52 kB / 0.9116 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3404, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1844/0.5248, allocations: 166 MB / 1.23 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02129/0.5461, allocations: 16.88 MB / 1.246 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002156/0.5483, allocations: 23.88 kB / 1.246 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002122/0.5505, allocations: 469.1 kB / 1.247 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005408/0.5559, allocations: 1.466 MB / 1.248 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003752/0.5597, allocations: 1.205 MB / 1.249 GB, free: 132 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.5941/1.154, allocations: 2.686 MB / 1.252 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003595/1.157, allocations: 1.886 MB / 1.254 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006209/1.164, allocations: 1.333 MB / 1.255 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002074/1.166, allocations: 1.012 MB / 1.256 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000763/1.166, allocations: 211.1 kB / 1.256 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003107/1.17, allocations: 1.433 MB / 1.258 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007527/1.17, allocations: 0.5539 MB / 1.258 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001531/1.172, allocations: 1.036 MB / 1.259 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004375/1.176, allocations: 3.11 MB / 1.262 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.176, allocations: 0 / 1.262 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.134e-06/1.176, allocations: 4.266 kB / 1.262 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.478e-05/1.176, allocations: 0 / 1.262 GB, free: 6.559 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.005277/1.182, allocations: 2.288 MB / 1.265 GB, free: 21.47 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/1.182, allocations: 8.344 kB / 1.265 GB, free: 21.47 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004243/1.186, allocations: 0.5031 MB / 1.265 GB, free: 21.37 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001842/1.188, allocations: 1.09 MB / 1.266 GB, free: 20.99 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/1.188, allocations: 127.4 kB / 1.266 GB, free: 20.99 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002441/1.188, allocations: 167.1 kB / 1.266 GB, free: 20.99 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003975/1.192, allocations: 1.843 MB / 1.268 GB, free: 20.81 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.654e-05/1.192, allocations: 6.031 kB / 1.268 GB, free: 20.8 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001807/1.192, allocations: 71.77 kB / 1.268 GB, free: 20.8 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-05/1.193, allocations: 41.41 kB / 1.268 GB, free: 20.8 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003707/1.196, allocations: 1.875 MB / 1.27 GB, free: 20.79 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.01009/1.206, allocations: 5.547 MB / 1.276 GB, free: 18.52 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00318/1.21, allocations: 1.768 MB / 1.277 GB, free: 18.1 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00117/1.211, allocations: 0.6486 MB / 1.278 GB, free: 18.09 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009311/1.212, allocations: 0.8061 MB / 1.279 GB, free: 17.24 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001716/1.213, allocations: 0.8883 MB / 1.28 GB, free: 17.16 MB / 1.014 GB Notification: Performance of pre-optimization done (n=146): time 3.146e-06/1.213, allocations: 0 / 1.28 GB, free: 17.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=146): time 0.006333/1.22, allocations: 2.56 MB / 1.282 GB, free: 16.51 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/1.22, allocations: 202.1 kB / 1.282 GB, free: 16.29 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/1.221, allocations: 0.8347 MB / 1.283 GB, free: 16.13 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001781/1.221, allocations: 60.73 kB / 1.283 GB, free: 16.1 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004188/1.222, allocations: 0.6351 MB / 1.284 GB, free: 15.8 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003186/1.222, allocations: 491.8 kB / 1.284 GB, free: 15.5 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004121/1.222, allocations: 257 kB / 1.284 GB, free: 15.47 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001513/1.223, allocations: 354.4 kB / 1.285 GB, free: 15.17 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/1.224, allocations: 496.2 kB / 1.285 GB, free: 15.17 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/1.225, allocations: 0.6386 MB / 1.286 GB, free: 15.08 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00212/1.227, allocations: 1.119 MB / 1.287 GB, free: 15.02 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/1.227, allocations: 0 / 1.287 GB, free: 15.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003665/1.231, allocations: 1.549 MB / 1.289 GB, free: 14.86 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/1.231, allocations: 4.25 kB / 1.289 GB, free: 14.86 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/1.231, allocations: 9.391 kB / 1.289 GB, free: 14.86 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009167/1.232, allocations: 191.5 kB / 1.289 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/1.233, allocations: 339.1 kB / 1.289 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005857/1.239, allocations: 7.297 MB / 1.296 GB, free: 8.043 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/1.241, allocations: 178.5 kB / 1.296 GB, free: 7.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/1.241, allocations: 57.25 kB / 1.296 GB, free: 7.98 MB / 1.014 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.0009123/1.242, allocations: 381.2 kB / 1.297 GB, free: 7.859 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003027/1.242, allocations: 135.6 kB / 1.297 GB, free: 7.793 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004258/1.246, allocations: 1.84 MB / 1.299 GB, free: 7.641 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/1.246, allocations: 15.09 kB / 1.299 GB, free: 7.641 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.246, allocations: 3.156 kB / 1.299 GB, free: 7.641 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.559e-05/1.246, allocations: 9.281 kB / 1.299 GB, free: 7.641 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006115/1.252, allocations: 3.431 MB / 1.302 GB, free: 7.199 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/1.253, allocations: 1.094 kB / 1.302 GB, free: 7.199 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001457/1.254, allocations: 314.7 kB / 1.302 GB, free: 7.199 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007485/1.255, allocations: 180.9 kB / 1.303 GB, free: 7.16 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001113/1.255, allocations: 41.66 kB / 1.303 GB, free: 7.16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005775/1.261, allocations: 7.322 MB / 1.31 GB, free: 16.38 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.261, allocations: 1.156 kB / 1.31 GB, free: 16.38 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003725/1.264, allocations: 1.713 MB / 1.311 GB, free: 16.1 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007868/1.265, allocations: 396.3 kB / 1.312 GB, free: 15.92 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002224/1.265, allocations: 34.78 kB / 1.312 GB, free: 15.92 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/1.267, allocations: 131.6 kB / 1.312 GB, free: 15.91 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002705/1.267, allocations: 111.8 kB / 1.312 GB, free: 15.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001633/1.267, allocations: 73.08 kB / 1.312 GB, free: 15.91 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000832/1.268, allocations: 0.5807 MB / 1.313 GB, free: 15.8 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.6e-07/1.268, allocations: 3.656 kB / 1.313 GB, free: 15.8 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001665/1.27, allocations: 0.5994 MB / 1.313 GB, free: 15.7 MB / 1.029 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.001717/1.271, allocations: 0.7365 MB / 1.314 GB, free: 15.48 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004891/1.276, allocations: 2.31 MB / 1.316 GB, free: 14.87 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.276, allocations: 4.281 kB / 1.316 GB, free: 14.87 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001774/1.278, allocations: 1.296 MB / 1.317 GB, free: 14.31 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/1.28, allocations: 0.5269 MB / 1.318 GB, free: 14.25 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005328/1.286, allocations: 3.548 MB / 1.321 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008389/1.287, allocations: 1.304 MB / 1.323 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.00188/1.289, allocations: 438.2 kB / 1.323 GB, free: 11.59 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004267/1.289, allocations: 156.8 kB / 1.323 GB, free: 11.58 MB / 1.029 GB Notification: Performance of SimCode: time 4.51e-07/1.289, allocations: 0 / 1.323 GB, free: 11.58 MB / 1.029 GB Notification: Performance of Templates: time 0.04578/1.335, allocations: 27.6 MB / 1.35 GB, free: 3.855 MB / 1.029 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