Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|eas.pWin|sou.pWin|wes.pWin|nor.alpha|eas.alpha|sou.alpha|wes.alpha",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions") translateModel(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|eas.pWin|sou.pWin|wes.pWin|nor.alpha|eas.alpha|sou.alpha|wes.alpha",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00921/0.009211, allocations: 101.6 kB / 15.88 MB, free: 5.867 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.002207/0.002207, allocations: 192.2 kB / 16.79 MB, free: 5.809 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.477/1.477, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.63/2.63, allocations: 437 MB / 0.7106 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 67.89 kB / 0.8692 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6689/0.6704, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1747/0.8452, allocations: 166.1 MB / 1.179 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02294/0.8682, allocations: 17.42 MB / 1.197 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002136/0.8703, allocations: 27.81 kB / 1.197 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002227/0.8726, allocations: 493 kB / 1.197 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005539/0.8782, allocations: 1.585 MB / 1.199 GB, free: 8.457 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0039/0.8821, allocations: 1.275 MB / 1.2 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004112/0.8862, allocations: 3.12 MB / 1.203 GB, free: 4.059 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003171/0.8894, allocations: 1.802 MB / 1.205 GB, free: 2.203 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005523/0.895, allocations: 1.265 MB / 1.206 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001931/0.8969, allocations: 1.093 MB / 1.207 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0007209/0.8976, allocations: 120 kB / 1.207 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003738/0.9014, allocations: 1.583 MB / 1.209 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0009782/0.9024, allocations: 0.7007 MB / 1.209 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002126/0.9045, allocations: 1.119 MB / 1.21 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003963/0.9085, allocations: 2.658 MB / 1.213 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.9085, allocations: 0 / 1.213 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.422e-06/0.9085, allocations: 0 / 1.213 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001147/0.9086, allocations: 3.938 kB / 1.213 GB, free: 9.676 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.006553/0.9152, allocations: 2.774 MB / 1.216 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.9153, allocations: 8.031 kB / 1.216 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004095/0.9194, allocations: 0.5629 MB / 1.216 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003378/0.9228, allocations: 1.592 MB / 1.218 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/0.9229, allocations: 135.4 kB / 1.218 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004488/0.9234, allocations: 168 kB / 1.218 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004612/0.928, allocations: 1.952 MB / 1.22 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.863e-05/0.9281, allocations: 7.938 kB / 1.22 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002716/0.9283, allocations: 76 kB / 1.22 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.859e-05/0.9284, allocations: 40 kB / 1.22 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004031/0.9324, allocations: 2.113 MB / 1.222 GB, free: 80 kB / 0.9669 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.01165/0.9441, allocations: 6.239 MB / 1.228 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003821/0.948, allocations: 2.131 MB / 1.23 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001421/0.9494, allocations: 0.7647 MB / 1.231 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006284/0.9501, allocations: 437.6 kB / 1.231 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002023/0.9521, allocations: 1.017 MB / 1.232 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 4.128e-06/0.9521, allocations: 0 / 1.232 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of matching and sorting (n=146): time 0.007343/0.9595, allocations: 2.993 MB / 1.235 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/0.9596, allocations: 201.2 kB / 1.236 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002944/0.9626, allocations: 1.801 MB / 1.237 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000234/0.9629, allocations: 61.7 kB / 1.237 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008276/0.9637, allocations: 0.8466 MB / 1.238 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005161/0.9642, allocations: 481 kB / 1.239 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005244/0.9648, allocations: 258.8 kB / 1.239 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.9649, allocations: 357.9 kB / 1.239 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001248/0.9662, allocations: 0.6038 MB / 1.24 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/0.9676, allocations: 0.8169 MB / 1.241 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002573/0.9702, allocations: 1.353 MB / 1.242 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/0.9702, allocations: 0 / 1.242 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00437/0.9746, allocations: 1.834 MB / 1.244 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.9746, allocations: 11.94 kB / 1.244 GB, free: 9.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.9747, allocations: 0 / 1.244 GB, free: 9.102 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001131/0.9758, allocations: 208.1 kB / 1.244 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/0.9775, allocations: 347.5 kB / 1.244 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006143/0.9836, allocations: 6.824 MB / 1.251 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002056/0.9857, allocations: 192.6 kB / 1.251 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002976/0.986, allocations: 55.95 kB / 1.251 GB, free: 0.8047 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 (153): * Single equations (assignments): 148 * 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.001312/0.9873, allocations: 483.1 kB / 1.252 GB, free: 328 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006672/0.988, allocations: 185.8 kB / 1.252 GB, free: 140 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.599/1.587, allocations: 2.135 MB / 1.254 GB, free: 230.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.98e-05/1.587, allocations: 16.05 kB / 1.254 GB, free: 230.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/1.587, allocations: 2.219 kB / 1.254 GB, free: 230.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.952e-05/1.587, allocations: 9.828 kB / 1.254 GB, free: 230.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007828/1.595, allocations: 4.016 MB / 1.258 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/1.595, allocations: 1.641 kB / 1.258 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001558/1.597, allocations: 321.9 kB / 1.258 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009611/1.598, allocations: 212.4 kB / 1.258 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/1.598, allocations: 44.84 kB / 1.258 GB, free: 228.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004679/1.602, allocations: 6.83 MB / 1.265 GB, free: 222.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.602, allocations: 0 / 1.265 GB, free: 222.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004955/1.607, allocations: 2.008 MB / 1.267 GB, free: 221.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/1.608, allocations: 480.8 kB / 1.268 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000285/1.609, allocations: 40.8 kB / 1.268 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001495/1.61, allocations: 132.9 kB / 1.268 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004259/1.611, allocations: 113.5 kB / 1.268 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002224/1.611, allocations: 69 kB / 1.268 GB, free: 221 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002577/1.613, allocations: 1.297 MB / 1.269 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/1.614, allocations: 0 / 1.269 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002218/1.616, allocations: 0.6886 MB / 1.27 GB, free: 220.5 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.001833/1.618, allocations: 0.7553 MB / 1.271 GB, free: 220.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003575/1.621, allocations: 2.098 MB / 1.273 GB, free: 219.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/1.621, allocations: 1.812 kB / 1.273 GB, free: 219.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002059/1.623, allocations: 1.429 MB / 1.274 GB, free: 218.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002519/1.626, allocations: 0.509 MB / 1.274 GB, free: 218.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007207/1.633, allocations: 4.596 MB / 1.279 GB, free: 215.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/1.634, allocations: 1.491 MB / 1.28 GB, free: 215 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008522/1.635, allocations: 193.6 kB / 1.281 GB, free: 215 MB / 0.9981 GB Notification: Performance of SimCode: time 1.082e-06/1.635, allocations: 0 / 1.281 GB, free: 215 MB / 0.9981 GB Notification: Performance of Templates: time 0.05848/1.694, allocations: 67.29 MB / 1.346 GB, free: 153.9 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & ./Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches