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.001171/0.001171, allocations: 108.6 kB / 15.73 MB, free: 72 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.001285/0.001285, allocations: 182.9 kB / 16.66 MB, free: 6.602 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.4 MB, free: 4.309 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.675/2.675, allocations: 437 MB / 0.7105 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 63.91 kB / 1.019 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3241, allocations: 151.6 MB / 1.167 GB, free: 6.883 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.9775/1.302, allocations: 168.5 MB / 1.331 GB, free: 2.672 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02523/1.327, allocations: 17.35 MB / 1.348 GB, free: 6.281 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002507/1.329, allocations: 35.12 kB / 1.348 GB, free: 6.266 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002308/1.332, allocations: 0.5674 MB / 1.349 GB, free: 5.922 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006729/1.339, allocations: 1.791 MB / 1.35 GB, free: 4.941 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00467/1.343, allocations: 1.441 MB / 1.352 GB, free: 4.164 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.004963/1.348, allocations: 2.891 MB / 1.355 GB, free: 2.75 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003706/1.352, allocations: 1.937 MB / 1.357 GB, free: 1.812 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004906/1.357, allocations: 1.431 MB / 1.358 GB, free: 1.191 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002408/1.359, allocations: 1.125 MB / 1.359 GB, free: 0.6406 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0008473/1.36, allocations: 221.9 kB / 1.359 GB, free: 0.6406 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004547/1.365, allocations: 1.554 MB / 1.361 GB, free: 156 kB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001361/1.366, allocations: 0.7908 MB / 1.362 GB, free: 15.76 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.00296/1.369, allocations: 1.222 MB / 1.363 GB, free: 14.99 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.008175/1.377, allocations: 3.627 MB / 1.366 GB, free: 12.71 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.377, allocations: 0 / 1.366 GB, free: 12.71 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.847e-06/1.377, allocations: 1.031 kB / 1.366 GB, free: 12.71 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001512/1.377, allocations: 3.938 kB / 1.366 GB, free: 12.7 MB / 1.045 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.007695/1.385, allocations: 2.847 MB / 1.369 GB, free: 10.6 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/1.385, allocations: 13.05 kB / 1.369 GB, free: 10.59 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004101/1.389, allocations: 0.5681 MB / 1.37 GB, free: 10.32 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003595/1.393, allocations: 1.647 MB / 1.371 GB, free: 9.168 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/1.393, allocations: 134.9 kB / 1.371 GB, free: 9.105 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000359/1.393, allocations: 166.8 kB / 1.371 GB, free: 9.055 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004691/1.398, allocations: 1.955 MB / 1.373 GB, free: 7.914 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.371e-05/1.398, allocations: 5.438 kB / 1.373 GB, free: 7.91 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002721/1.399, allocations: 74.91 kB / 1.373 GB, free: 7.855 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.977e-05/1.399, allocations: 39.25 kB / 1.374 GB, free: 7.855 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004767/1.403, allocations: 2.125 MB / 1.376 GB, free: 6.883 MB / 1.045 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.01162/1.415, allocations: 6.198 MB / 1.382 GB, free: 1.984 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003787/1.419, allocations: 2.136 MB / 1.384 GB, free: 0.7617 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001426/1.42, allocations: 0.7707 MB / 1.384 GB, free: 416 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000673/1.421, allocations: 432.2 kB / 1.385 GB, free: 15.98 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002036/1.423, allocations: 1.03 MB / 1.386 GB, free: 15.38 MB / 1.061 GB Notification: Performance of pre-optimization done (n=146): time 5.621e-06/1.423, allocations: 0 / 1.386 GB, free: 15.38 MB / 1.061 GB Notification: Performance of matching and sorting (n=146): time 0.007462/1.43, allocations: 2.989 MB / 1.389 GB, free: 13.69 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/1.431, allocations: 200.2 kB / 1.389 GB, free: 13.46 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00351/1.434, allocations: 1.809 MB / 1.391 GB, free: 12.57 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0003224/1.435, allocations: 56.33 kB / 1.391 GB, free: 12.52 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009732/1.436, allocations: 0.8498 MB / 1.392 GB, free: 11.77 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006417/1.436, allocations: 0.5015 MB / 1.392 GB, free: 11.32 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005566/1.437, allocations: 257.5 kB / 1.392 GB, free: 11.17 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001652/1.437, allocations: 358.5 kB / 1.393 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/1.438, allocations: 0.6024 MB / 1.393 GB, free: 10.55 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001496/1.44, allocations: 0.8078 MB / 1.394 GB, free: 10.08 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002615/1.442, allocations: 1.363 MB / 1.395 GB, free: 9.422 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.503e-06/1.442, allocations: 0 / 1.395 GB, free: 9.422 MB / 1.061 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004568/1.447, allocations: 1.843 MB / 1.397 GB, free: 7.59 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/1.447, allocations: 11.94 kB / 1.397 GB, free: 7.578 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/1.447, allocations: 0 / 1.397 GB, free: 7.578 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/1.448, allocations: 216.1 kB / 1.397 GB, free: 7.352 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001572/1.45, allocations: 335.6 kB / 1.398 GB, free: 7.023 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006608/1.456, allocations: 7.332 MB / 1.405 GB, free: 15 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002193/1.459, allocations: 172.8 kB / 1.405 GB, free: 14.83 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001884/1.459, allocations: 59.95 kB / 1.405 GB, free: 14.77 MB / 1.076 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.001204/1.46, allocations: 491.2 kB / 1.406 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005491/1.46, allocations: 191 kB / 1.406 GB, free: 14.1 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004698/1.465, allocations: 2.137 MB / 1.408 GB, free: 11.93 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/1.465, allocations: 20 kB / 1.408 GB, free: 11.91 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/1.465, allocations: 4 kB / 1.408 GB, free: 11.91 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/1.465, allocations: 7.969 kB / 1.408 GB, free: 11.9 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00756/1.473, allocations: 4.002 MB / 1.412 GB, free: 7.816 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/1.473, allocations: 0 / 1.412 GB, free: 7.816 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001432/1.474, allocations: 323.5 kB / 1.412 GB, free: 7.5 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008611/1.475, allocations: 196.1 kB / 1.412 GB, free: 7.293 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/1.475, allocations: 47.89 kB / 1.412 GB, free: 7.246 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006244/1.482, allocations: 7.363 MB / 1.42 GB, free: 15.18 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/1.482, allocations: 7.922 kB / 1.42 GB, free: 15.17 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004634/1.486, allocations: 2.017 MB / 1.422 GB, free: 13.11 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/1.487, allocations: 483.2 kB / 1.422 GB, free: 12.62 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002737/1.488, allocations: 32 kB / 1.422 GB, free: 12.59 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/1.489, allocations: 110.1 kB / 1.422 GB, free: 12.48 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002621/1.489, allocations: 113.1 kB / 1.422 GB, free: 12.38 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001683/1.489, allocations: 75.94 kB / 1.422 GB, free: 12.3 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001771/1.491, allocations: 1.289 MB / 1.424 GB, free: 11.02 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.61e-07/1.491, allocations: 4 kB / 1.424 GB, free: 11.01 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002035/1.493, allocations: 0.686 MB / 1.424 GB, free: 10.32 MB / 1.092 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.001877/1.495, allocations: 0.7559 MB / 1.425 GB, free: 9.75 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0039/1.499, allocations: 2.109 MB / 1.427 GB, free: 7.574 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/1.499, allocations: 4.5 kB / 1.427 GB, free: 7.57 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002143/1.501, allocations: 1.43 MB / 1.428 GB, free: 6.078 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00269/1.504, allocations: 0.542 MB / 1.429 GB, free: 5.555 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007944/1.512, allocations: 3.901 MB / 1.433 GB, free: 1.613 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001414/1.513, allocations: 1.526 MB / 1.434 GB, free: 56 kB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.002065/1.515, allocations: 0.5008 MB / 1.435 GB, free: 15.55 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005286/1.516, allocations: 179.3 kB / 1.435 GB, free: 15.37 MB / 1.107 GB Notification: Performance of SimCode: time 1.282e-06/1.516, allocations: 0 / 1.435 GB, free: 15.37 MB / 1.107 GB Notification: Performance of Templates: time 0.058/1.574, allocations: 32.41 MB / 1.467 GB, free: 15.32 MB / 1.139 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