Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.007182/0.007182, allocations: 105.4 kB / 15.74 MB, free: 6.023 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.001579/0.001579, allocations: 192.6 kB / 16.67 MB, free: 5.934 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.281/2.281, allocations: 390.2 MB / 0.6648 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 59.91 kB / 0.9508 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8756/0.8768, allocations: 140.4 MB / 1.088 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.2099/1.087, allocations: 167.2 MB / 1.251 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02077/1.108, allocations: 17.21 MB / 1.268 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001577/1.109, allocations: 35.81 kB / 1.268 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001868/1.111, allocations: 0.5392 MB / 1.269 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005316/1.116, allocations: 1.714 MB / 1.27 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004171/1.121, allocations: 1.44 MB / 1.272 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00528/1.126, allocations: 2.701 MB / 1.274 GB, free: 14.83 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002931/1.129, allocations: 1.986 MB / 1.276 GB, free: 12.8 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003989/1.133, allocations: 1.439 MB / 1.278 GB, free: 11.41 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001814/1.135, allocations: 1.093 MB / 1.279 GB, free: 10.31 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0007013/1.135, allocations: 224 kB / 1.279 GB, free: 10.09 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004091/1.14, allocations: 1.556 MB / 1.28 GB, free: 8.531 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001295/1.141, allocations: 0.7907 MB / 1.281 GB, free: 7.738 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002114/1.143, allocations: 1.185 MB / 1.282 GB, free: 6.547 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006997/1.15, allocations: 3.557 MB / 1.286 GB, free: 2.977 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/1.15, allocations: 0 / 1.286 GB, free: 2.977 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.555e-06/1.15, allocations: 0 / 1.286 GB, free: 2.977 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001217/1.15, allocations: 0 / 1.286 GB, free: 2.977 MB / 1.014 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.006121/1.156, allocations: 2.825 MB / 1.289 GB, free: 88 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/1.156, allocations: 12.03 kB / 1.289 GB, free: 76 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003866/1.16, allocations: 0.5604 MB / 1.289 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002655/1.163, allocations: 1.648 MB / 1.291 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/1.163, allocations: 131.4 kB / 1.291 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002339/1.163, allocations: 164 kB / 1.291 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003499/1.167, allocations: 1.957 MB / 1.293 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.352e-05/1.167, allocations: 0 / 1.293 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001714/1.167, allocations: 79.98 kB / 1.293 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.218e-05/1.167, allocations: 40 kB / 1.293 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003619/1.171, allocations: 2.113 MB / 1.295 GB, free: 9.281 MB / 1.029 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.009195/1.18, allocations: 5.837 MB / 1.301 GB, free: 3.188 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00345/1.183, allocations: 2.137 MB / 1.303 GB, free: 0.9648 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001304/1.185, allocations: 0.769 MB / 1.304 GB, free: 196 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005734/1.185, allocations: 433.6 kB / 1.304 GB, free: 15.69 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001862/1.187, allocations: 1.009 MB / 1.305 GB, free: 14.66 MB / 1.045 GB Notification: Performance of pre-optimization done (n=146): time 3.808e-06/1.187, allocations: 0 / 1.305 GB, free: 14.66 MB / 1.045 GB Notification: Performance of matching and sorting (n=146): time 0.00784/1.195, allocations: 2.994 MB / 1.308 GB, free: 11.56 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001499/1.195, allocations: 197.2 kB / 1.308 GB, free: 11.32 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004075/1.199, allocations: 1.801 MB / 1.31 GB, free: 9.508 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0003933/1.2, allocations: 61.64 kB / 1.31 GB, free: 9.441 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001237/1.201, allocations: 0.8559 MB / 1.311 GB, free: 8.574 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007393/1.202, allocations: 0.4996 MB / 1.311 GB, free: 8.07 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006036/1.202, allocations: 254.8 kB / 1.312 GB, free: 7.816 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001559/1.202, allocations: 357.9 kB / 1.312 GB, free: 7.461 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001335/1.204, allocations: 0.6038 MB / 1.313 GB, free: 6.855 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/1.205, allocations: 0.8131 MB / 1.313 GB, free: 5.992 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002713/1.208, allocations: 1.364 MB / 1.315 GB, free: 4.617 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/1.208, allocations: 0 / 1.315 GB, free: 4.617 MB / 1.045 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004445/1.213, allocations: 1.839 MB / 1.316 GB, free: 2.754 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.994e-05/1.213, allocations: 15.92 kB / 1.316 GB, free: 2.738 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/1.213, allocations: 0 / 1.316 GB, free: 2.738 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/1.214, allocations: 212.1 kB / 1.317 GB, free: 2.516 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001662/1.215, allocations: 335.6 kB / 1.317 GB, free: 2.188 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006794/1.222, allocations: 7.321 MB / 1.324 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/1.224, allocations: 169.8 kB / 1.324 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002168/1.224, allocations: 59.95 kB / 1.324 GB, free: 9.941 MB / 1.061 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.001175/1.225, allocations: 0.4886 MB / 1.325 GB, free: 9.445 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006299/1.226, allocations: 190.8 kB / 1.325 GB, free: 9.258 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004894/1.231, allocations: 2.144 MB / 1.327 GB, free: 7.082 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/1.231, allocations: 16 kB / 1.327 GB, free: 7.066 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.567e-05/1.231, allocations: 8 kB / 1.327 GB, free: 7.059 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/1.231, allocations: 7.969 kB / 1.327 GB, free: 7.051 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008042/1.239, allocations: 4.01 MB / 1.331 GB, free: 2.961 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/1.239, allocations: 3.938 kB / 1.331 GB, free: 2.957 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00152/1.241, allocations: 319.5 kB / 1.331 GB, free: 2.645 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009015/1.242, allocations: 196.1 kB / 1.332 GB, free: 2.438 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001238/1.242, allocations: 43.95 kB / 1.332 GB, free: 2.395 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006045/1.248, allocations: 7.355 MB / 1.339 GB, free: 10.34 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/1.248, allocations: 3.938 kB / 1.339 GB, free: 10.33 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004621/1.252, allocations: 2.021 MB / 1.341 GB, free: 8.273 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001136/1.254, allocations: 483.2 kB / 1.341 GB, free: 7.781 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004239/1.254, allocations: 35.94 kB / 1.341 GB, free: 7.746 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001554/1.256, allocations: 106.5 kB / 1.341 GB, free: 7.645 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002536/1.256, allocations: 113.3 kB / 1.341 GB, free: 7.535 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000191/1.256, allocations: 79.95 kB / 1.342 GB, free: 7.457 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002031/1.258, allocations: 1.293 MB / 1.343 GB, free: 6.168 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.11e-07/1.258, allocations: 8 kB / 1.343 GB, free: 6.16 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001945/1.26, allocations: 0.6625 MB / 1.343 GB, free: 5.496 MB / 1.076 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.001999/1.262, allocations: 0.7535 MB / 1.344 GB, free: 4.926 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003911/1.266, allocations: 2.105 MB / 1.346 GB, free: 2.754 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.266, allocations: 8.484 kB / 1.346 GB, free: 2.746 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002218/1.268, allocations: 1.422 MB / 1.348 GB, free: 1.262 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00289/1.271, allocations: 0.5244 MB / 1.348 GB, free: 0.7578 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008826/1.28, allocations: 4.005 MB / 1.352 GB, free: 12.71 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001892/1.282, allocations: 1.534 MB / 1.354 GB, free: 11.15 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001939/1.284, allocations: 0.5006 MB / 1.354 GB, free: 10.64 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006014/1.284, allocations: 171.4 kB / 1.354 GB, free: 10.48 MB / 1.092 GB Notification: Performance of SimCode: time 6.82e-07/1.284, allocations: 0 / 1.354 GB, free: 10.48 MB / 1.092 GB Notification: Performance of Templates: time 0.0589/1.343, allocations: 31.58 MB / 1.385 GB, free: 11.23 MB / 1.123 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & ./Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches