Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.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_CpData,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_CpData") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,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_CpData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 110.8 kB / 15.99 MB, free: 5.891 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.001281/0.001281, allocations: 194.9 kB / 16.91 MB, free: 5.746 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.391/1.391, allocations: 222.9 MB / 240.6 MB, free: 4.504 MB / 190.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.419/2.419, allocations: 390.2 MB / 0.665 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 63.91 kB / 0.8127 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7156/0.7172, allocations: 140.4 MB / 0.9498 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1863/0.9035, allocations: 164.9 MB / 1.111 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02216/0.9257, allocations: 17.01 MB / 1.127 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001995/0.9277, allocations: 27.81 kB / 1.127 GB, free: 11.51 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001822/0.9296, allocations: 465.2 kB / 1.128 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005327/0.9349, allocations: 1.535 MB / 1.129 GB, free: 9.516 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003759/0.9387, allocations: 1.284 MB / 1.131 GB, free: 8.246 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00397/0.9427, allocations: 2.653 MB / 1.133 GB, free: 5.582 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002809/0.9455, allocations: 2.006 MB / 1.135 GB, free: 3.531 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005404/0.9509, allocations: 1.396 MB / 1.137 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001646/0.9526, allocations: 1.121 MB / 1.138 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003884/0.953, allocations: 220 kB / 1.138 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002924/0.9559, allocations: 1.564 MB / 1.139 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006673/0.9566, allocations: 0.7945 MB / 1.14 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001154/0.9578, allocations: 1.177 MB / 1.141 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003286/0.9611, allocations: 2.643 MB / 1.144 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.9611, allocations: 0 / 1.144 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.244e-06/0.9611, allocations: 0 / 1.144 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.233e-05/0.9612, allocations: 0 / 1.144 GB, free: 10.64 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.004709/0.9659, allocations: 2.721 MB / 1.147 GB, free: 7.855 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/0.966, allocations: 12.03 kB / 1.147 GB, free: 7.844 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003814/0.9698, allocations: 0.5512 MB / 1.147 GB, free: 7.289 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002569/0.9724, allocations: 1.599 MB / 1.149 GB, free: 5.637 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.9725, allocations: 131.4 kB / 1.149 GB, free: 5.508 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002688/0.9728, allocations: 172 kB / 1.149 GB, free: 5.34 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003578/0.9764, allocations: 1.936 MB / 1.151 GB, free: 3.352 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.461e-05/0.9764, allocations: 4 kB / 1.151 GB, free: 3.348 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001784/0.9766, allocations: 76 kB / 1.151 GB, free: 3.273 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.177e-05/0.9767, allocations: 43.94 kB / 1.151 GB, free: 3.23 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003411/0.9801, allocations: 2.089 MB / 1.153 GB, free: 1.137 MB / 0.9044 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.009947/0.9901, allocations: 5.7 MB / 1.159 GB, free: 11.18 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003568/0.9937, allocations: 2.077 MB / 1.161 GB, free: 9.023 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/0.995, allocations: 0.7647 MB / 1.161 GB, free: 8.258 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006217/0.9957, allocations: 421.6 kB / 1.162 GB, free: 7.77 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001915/0.9976, allocations: 1.009 MB / 1.163 GB, free: 6.742 MB / 0.92 GB Notification: Performance of pre-optimization done (n=146): time 5.249e-06/0.9976, allocations: 4 kB / 1.163 GB, free: 6.738 MB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.006932/1.005, allocations: 2.946 MB / 1.166 GB, free: 3.68 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/1.005, allocations: 197.2 kB / 1.166 GB, free: 3.441 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002847/1.008, allocations: 1.787 MB / 1.168 GB, free: 1.641 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002695/1.008, allocations: 57.7 kB / 1.168 GB, free: 1.578 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000763/1.009, allocations: 0.835 MB / 1.168 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005334/1.009, allocations: 489 kB / 1.169 GB, free: 252 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005295/1.01, allocations: 254.8 kB / 1.169 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001371/1.01, allocations: 357.9 kB / 1.169 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00118/1.011, allocations: 0.596 MB / 1.17 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001375/1.012, allocations: 0.8013 MB / 1.171 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002468/1.015, allocations: 1.329 MB / 1.172 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/1.015, allocations: 0 / 1.172 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004186/1.019, allocations: 1.807 MB / 1.174 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/1.019, allocations: 7.938 kB / 1.174 GB, free: 11 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/1.019, allocations: 4 kB / 1.174 GB, free: 11 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/1.02, allocations: 216.2 kB / 1.174 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/1.022, allocations: 331.5 kB / 1.174 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006234/1.028, allocations: 7.312 MB / 1.182 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001792/1.03, allocations: 184.8 kB / 1.182 GB, free: 2.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002264/1.03, allocations: 55.95 kB / 1.182 GB, free: 2.195 MB / 0.9356 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 (152): * Single equations (assignments): 147 * 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.001178/1.031, allocations: 487.2 kB / 1.182 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005889/1.032, allocations: 173.8 kB / 1.182 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004865/1.037, allocations: 2.129 MB / 1.184 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/1.037, allocations: 16 kB / 1.184 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/1.037, allocations: 4 kB / 1.185 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.685e-05/1.037, allocations: 11.91 kB / 1.185 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007713/1.045, allocations: 3.983 MB / 1.188 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/1.045, allocations: 0 / 1.188 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001481/1.046, allocations: 319.5 kB / 1.189 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000937/1.047, allocations: 212.1 kB / 1.189 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001327/1.047, allocations: 39.97 kB / 1.189 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006108/1.053, allocations: 7.364 MB / 1.196 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.054, allocations: 8 kB / 1.196 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00474/1.058, allocations: 1.986 MB / 1.198 GB, free: 0.6094 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/1.059, allocations: 466.4 kB / 1.199 GB, free: 136 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000437/1.06, allocations: 31.94 kB / 1.199 GB, free: 104 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001622/1.061, allocations: 126.4 kB / 1.199 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002807/1.062, allocations: 113.2 kB / 1.199 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000211/1.062, allocations: 71.94 kB / 1.199 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002089/1.064, allocations: 1.273 MB / 1.2 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.5e-07/1.064, allocations: 0 / 1.2 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002279/1.066, allocations: 0.6625 MB / 1.201 GB, free: 13.87 MB / 0.9669 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.002105/1.069, allocations: 0.7514 MB / 1.201 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00568/1.074, allocations: 2.519 MB / 1.204 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/1.074, allocations: 0.5625 kB / 1.204 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002253/1.077, allocations: 1.418 MB / 1.205 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003086/1.08, allocations: 0.5255 MB / 1.206 GB, free: 8.73 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008731/1.088, allocations: 4.589 MB / 1.21 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001457/1.09, allocations: 1.486 MB / 1.212 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008211/1.091, allocations: 195.3 kB / 1.212 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of SimCode: time 1.132e-06/1.091, allocations: 0 / 1.212 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of Templates: time 0.5583/1.649, allocations: 66.53 MB / 1.277 GB, free: 265.3 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches