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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009341/0.0009341, allocations: 99.42 kB / 16.02 MB, free: 76 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.001152/0.001152, allocations: 185.1 kB / 16.92 MB, free: 6.688 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.402/1.402, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.457/2.457, allocations: 390.9 MB / 0.667 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003834/0.0003839, allocations: 8 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7336/0.734, allocations: 142.4 MB / 0.9557 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1948/0.9289, allocations: 162.7 MB / 1.115 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02455/0.9535, allocations: 17.01 MB / 1.131 GB, free: 11.07 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00183/0.9554, allocations: 27.81 kB / 1.131 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001961/0.9574, allocations: 457.2 kB / 1.132 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005663/0.963, allocations: 1.498 MB / 1.133 GB, free: 9.098 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004176/0.9672, allocations: 1.259 MB / 1.134 GB, free: 7.852 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004224/0.9715, allocations: 2.891 MB / 1.137 GB, free: 4.949 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003273/0.9748, allocations: 1.717 MB / 1.139 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005643/0.9804, allocations: 1.083 MB / 1.14 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001698/0.9822, allocations: 0.8706 MB / 1.141 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0005963/0.9828, allocations: 48 kB / 1.141 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003721/0.9865, allocations: 1.509 MB / 1.142 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0009249/0.9875, allocations: 0.5876 MB / 1.143 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001687/0.9892, allocations: 0.9644 MB / 1.144 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003874/0.9931, allocations: 2.556 MB / 1.146 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.9931, allocations: 0 / 1.146 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.824e-06/0.9931, allocations: 0 / 1.146 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001218/0.9932, allocations: 4 kB / 1.146 GB, free: 11.57 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.004989/0.9982, allocations: 2.266 MB / 1.148 GB, free: 9.242 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.9983, allocations: 12.03 kB / 1.148 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004187/1.002, allocations: 0.563 MB / 1.149 GB, free: 8.664 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00324/1.006, allocations: 1.591 MB / 1.151 GB, free: 7.02 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001488/1.006, allocations: 131.4 kB / 1.151 GB, free: 6.891 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004384/1.006, allocations: 168 kB / 1.151 GB, free: 6.727 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004551/1.011, allocations: 1.948 MB / 1.153 GB, free: 4.727 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.704e-05/1.011, allocations: 0 / 1.153 GB, free: 4.727 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002683/1.011, allocations: 72 kB / 1.153 GB, free: 4.656 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-05/1.011, allocations: 40 kB / 1.153 GB, free: 4.617 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004093/1.015, allocations: 2.105 MB / 1.155 GB, free: 2.508 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.01042/1.026, allocations: 5.729 MB / 1.161 GB, free: 12.52 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003671/1.03, allocations: 2.093 MB / 1.163 GB, free: 10.36 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001454/1.031, allocations: 0.7647 MB / 1.163 GB, free: 9.59 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006139/1.032, allocations: 433.6 kB / 1.164 GB, free: 9.094 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001889/1.034, allocations: 1.014 MB / 1.165 GB, free: 8.059 MB / 0.92 GB Notification: Performance of pre-optimization done (n=146): time 4.358e-06/1.034, allocations: 0 / 1.165 GB, free: 8.059 MB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.007216/1.041, allocations: 2.981 MB / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/1.041, allocations: 201.2 kB / 1.168 GB, free: 4.727 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002925/1.044, allocations: 1.78 MB / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002838/1.044, allocations: 65.69 kB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008224/1.045, allocations: 0.8272 MB / 1.17 GB, free: 2.023 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005519/1.046, allocations: 488.9 kB / 1.171 GB, free: 1.539 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002127/1.046, allocations: 105.7 kB / 1.171 GB, free: 1.43 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001445/1.046, allocations: 357.9 kB / 1.171 GB, free: 1.074 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001257/1.047, allocations: 0.596 MB / 1.172 GB, free: 488 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/1.049, allocations: 0.8052 MB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002634/1.051, allocations: 1.337 MB / 1.174 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/1.051, allocations: 7.938 kB / 1.174 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004315/1.056, allocations: 1.815 MB / 1.176 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/1.056, allocations: 7.938 kB / 1.176 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/1.056, allocations: 0 / 1.176 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00117/1.057, allocations: 220.2 kB / 1.176 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001624/1.059, allocations: 331.5 kB / 1.176 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006145/1.065, allocations: 6.803 MB / 1.183 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001984/1.067, allocations: 184 kB / 1.183 GB, free: 4.211 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002968/1.067, allocations: 55.95 kB / 1.183 GB, free: 4.156 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.001273/1.068, allocations: 495 kB / 1.184 GB, free: 3.664 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005473/1.069, allocations: 185.8 kB / 1.184 GB, free: 3.48 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005035/1.074, allocations: 2.121 MB / 1.186 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.985e-05/1.074, allocations: 19.98 kB / 1.186 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/1.074, allocations: 4 kB / 1.186 GB, free: 1.305 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.248e-05/1.074, allocations: 11.91 kB / 1.186 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008077/1.082, allocations: 3.995 MB / 1.19 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.407e-06/1.082, allocations: 3.984 kB / 1.19 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/1.084, allocations: 315.6 kB / 1.19 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001045/1.085, allocations: 228 kB / 1.19 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001406/1.085, allocations: 47.89 kB / 1.19 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005846/1.091, allocations: 6.831 MB / 1.197 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.091, allocations: 0 / 1.197 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004886/1.096, allocations: 1.994 MB / 1.199 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/1.097, allocations: 486.2 kB / 1.2 GB, free: 2.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004256/1.097, allocations: 32 kB / 1.2 GB, free: 2.559 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001654/1.099, allocations: 143.4 kB / 1.2 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002937/1.099, allocations: 113.1 kB / 1.2 GB, free: 2.312 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002048/1.1, allocations: 72.12 kB / 1.2 GB, free: 2.242 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002121/1.102, allocations: 1.281 MB / 1.201 GB, free: 0.9648 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.6e-07/1.102, allocations: 4 kB / 1.201 GB, free: 0.9609 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002155/1.104, allocations: 0.6547 MB / 1.202 GB, free: 312 kB / 0.9512 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.002372/1.106, allocations: 0.7685 MB / 1.202 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00425/1.111, allocations: 2.086 MB / 1.205 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/1.111, allocations: 0.5625 kB / 1.205 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002328/1.113, allocations: 1.422 MB / 1.206 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003107/1.116, allocations: 490.5 kB / 1.206 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00928/1.125, allocations: 4.65 MB / 1.211 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001555/1.127, allocations: 1.488 MB / 1.212 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009678/1.128, allocations: 191.3 kB / 1.213 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of SimCode: time 7.42e-07/1.128, allocations: 0 / 1.213 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of Templates: time 0.5797/1.708, allocations: 66.28 MB / 1.277 GB, free: 265 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