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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001121/0.001121, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001314/0.001314, allocations: 194.4 kB / 16.14 MB, free: 6.691 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.324/1.324, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.55/2.55, allocations: 437 MB / 0.7099 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 59.91 kB / 0.8685 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6906/0.6918, allocations: 151.6 MB / 1.017 GB, free: 2.832 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1639/0.8558, allocations: 166.1 MB / 1.179 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02152/0.8773, allocations: 17.41 MB / 1.196 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002025/0.8794, allocations: 27.81 kB / 1.196 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001835/0.8813, allocations: 496.9 kB / 1.196 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005079/0.8864, allocations: 1.592 MB / 1.198 GB, free: 8.512 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003363/0.8898, allocations: 1.273 MB / 1.199 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003731/0.8935, allocations: 3.113 MB / 1.202 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00345/0.897, allocations: 1.802 MB / 1.204 GB, free: 2.27 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005503/0.9025, allocations: 1.27 MB / 1.205 GB, free: 1.031 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001738/0.9042, allocations: 1.097 MB / 1.206 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0005223/0.9048, allocations: 116 kB / 1.206 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003436/0.9082, allocations: 1.583 MB / 1.208 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0008603/0.9091, allocations: 0.6892 MB / 1.209 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001624/0.9107, allocations: 1.127 MB / 1.21 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004633/0.9154, allocations: 3.516 MB / 1.213 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.9154, allocations: 0 / 1.213 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.323e-06/0.9154, allocations: 4 kB / 1.213 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.548e-05/0.9155, allocations: 0 / 1.213 GB, free: 8.875 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.004677/0.9201, allocations: 2.77 MB / 1.216 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.9202, allocations: 8.031 kB / 1.216 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003815/0.924, allocations: 0.559 MB / 1.216 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002461/0.9265, allocations: 1.592 MB / 1.218 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.753e-05/0.9266, allocations: 127.4 kB / 1.218 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002239/0.9268, allocations: 172 kB / 1.218 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003341/0.9302, allocations: 1.964 MB / 1.22 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.698e-05/0.9302, allocations: 0 / 1.22 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001648/0.9304, allocations: 72 kB / 1.22 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.7e-05/0.9304, allocations: 40 kB / 1.22 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003549/0.934, allocations: 2.113 MB / 1.222 GB, free: 15.29 MB / 0.9825 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.009242/0.9433, allocations: 6.239 MB / 1.228 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00335/0.9466, allocations: 2.125 MB / 1.23 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001303/0.9479, allocations: 0.7686 MB / 1.231 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005927/0.9486, allocations: 437.6 kB / 1.232 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001815/0.9504, allocations: 1.021 MB / 1.233 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 3.166e-06/0.9504, allocations: 3.938 kB / 1.233 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of matching and sorting (n=146): time 0.006974/0.9574, allocations: 2.989 MB / 1.236 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.9575, allocations: 201.2 kB / 1.236 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002388/0.9599, allocations: 1.805 MB / 1.238 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001687/0.9601, allocations: 57.7 kB / 1.238 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000753/0.9608, allocations: 0.8428 MB / 1.238 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004206/0.9613, allocations: 481 kB / 1.239 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004213/0.9617, allocations: 258.8 kB / 1.239 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.9619, allocations: 357.9 kB / 1.239 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001189/0.9631, allocations: 0.6038 MB / 1.24 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001374/0.9644, allocations: 0.815 MB / 1.241 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002433/0.9669, allocations: 1.364 MB / 1.242 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.9669, allocations: 0 / 1.242 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004197/0.9711, allocations: 1.838 MB / 1.244 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.9711, allocations: 7.938 kB / 1.244 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.9712, allocations: 0 / 1.244 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.9723, allocations: 212.2 kB / 1.244 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/0.9739, allocations: 339.5 kB / 1.244 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006909/0.9809, allocations: 6.82 MB / 1.251 GB, free: 264 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002164/0.9831, allocations: 178.7 kB / 1.251 GB, free: 88 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/0.9832, allocations: 59.95 kB / 1.251 GB, free: 28 kB / 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.6537/1.637, allocations: 490.1 kB / 1.252 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001528/1.638, allocations: 182.5 kB / 1.252 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00982/1.648, allocations: 2.147 MB / 1.254 GB, free: 229.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.325e-05/1.648, allocations: 15.98 kB / 1.254 GB, free: 229.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.508e-05/1.648, allocations: 5.969 kB / 1.254 GB, free: 229.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.746e-05/1.649, allocations: 8.75 kB / 1.254 GB, free: 229.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01579/1.664, allocations: 4.015 MB / 1.258 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/1.664, allocations: 3.5 kB / 1.258 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003155/1.668, allocations: 320.8 kB / 1.258 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001822/1.669, allocations: 209 kB / 1.259 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002472/1.67, allocations: 44.27 kB / 1.259 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007615/1.677, allocations: 6.839 MB / 1.265 GB, free: 221.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.677, allocations: 0 / 1.265 GB, free: 221.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009049/1.686, allocations: 2.008 MB / 1.267 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002033/1.688, allocations: 472.5 kB / 1.268 GB, free: 220.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006535/1.689, allocations: 31.06 kB / 1.268 GB, free: 220.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003199/1.692, allocations: 138.9 kB / 1.268 GB, free: 220.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006173/1.693, allocations: 109.4 kB / 1.268 GB, free: 220.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003877/1.693, allocations: 72.78 kB / 1.268 GB, free: 220.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003914/1.697, allocations: 1.292 MB / 1.269 GB, free: 219.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.41e-07/1.697, allocations: 3.875 kB / 1.269 GB, free: 219.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003651/1.701, allocations: 0.6899 MB / 1.27 GB, free: 219.8 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.002158/1.703, allocations: 0.7433 MB / 1.271 GB, free: 219.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00421/1.707, allocations: 2.109 MB / 1.273 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/1.707, allocations: 1.844 kB / 1.273 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002402/1.71, allocations: 1.425 MB / 1.274 GB, free: 217.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003349/1.713, allocations: 0.5179 MB / 1.275 GB, free: 217.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008101/1.721, allocations: 4.714 MB / 1.279 GB, free: 215 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001589/1.723, allocations: 1.532 MB / 1.281 GB, free: 214.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002469/1.725, allocations: 0.4923 MB / 1.281 GB, free: 214.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006825/1.726, allocations: 175.4 kB / 1.281 GB, free: 214.1 MB / 0.9981 GB Notification: Performance of SimCode: time 6.71e-07/1.726, allocations: 1.5 kB / 1.281 GB, free: 214.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.04545/1.772, allocations: 30.85 MB / 1.312 GB, free: 189.1 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/jenkins/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