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.009125/0.009125, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001893/0.001893, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.488/1.488, allocations: 222.9 MB / 240.4 MB, free: 4.156 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.682/2.682, allocations: 437 MB / 0.7105 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 63.91 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3583, allocations: 151.6 MB / 1.167 GB, free: 6.781 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.9696/1.328, allocations: 168.5 MB / 1.331 GB, free: 2.555 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02709/1.355, allocations: 17.36 MB / 1.348 GB, free: 6.156 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003065/1.358, allocations: 31.44 kB / 1.348 GB, free: 6.145 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002735/1.361, allocations: 0.5798 MB / 1.349 GB, free: 5.797 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.007565/1.369, allocations: 1.821 MB / 1.35 GB, free: 4.797 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0054/1.374, allocations: 1.449 MB / 1.352 GB, free: 4.016 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0081/1.382, allocations: 2.89 MB / 1.355 GB, free: 2.605 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00493/1.387, allocations: 1.942 MB / 1.357 GB, free: 1.664 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00556/1.393, allocations: 1.477 MB / 1.358 GB, free: 1.02 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00278/1.395, allocations: 1.114 MB / 1.359 GB, free: 488 kB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.00112/1.397, allocations: 222.4 kB / 1.359 GB, free: 488 kB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005393/1.402, allocations: 1.557 MB / 1.361 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001577/1.404, allocations: 0.7989 MB / 1.362 GB, free: 15.59 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.003582/1.407, allocations: 1.22 MB / 1.363 GB, free: 14.82 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.008878/1.416, allocations: 3.619 MB / 1.366 GB, free: 12.53 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/1.416, allocations: 0 / 1.366 GB, free: 12.53 MB / 1.045 GB Notification: Performance of FrontEnd: time 5.33e-06/1.416, allocations: 3.984 kB / 1.366 GB, free: 12.53 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001633/1.416, allocations: 0 / 1.366 GB, free: 12.53 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.008129/1.424, allocations: 2.844 MB / 1.369 GB, free: 10.43 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/1.425, allocations: 8.844 kB / 1.369 GB, free: 10.43 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004297/1.429, allocations: 0.5755 MB / 1.37 GB, free: 10.15 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003047/1.432, allocations: 1.652 MB / 1.371 GB, free: 8.988 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/1.432, allocations: 130 kB / 1.371 GB, free: 8.93 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002739/1.432, allocations: 172 kB / 1.372 GB, free: 8.875 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003789/1.436, allocations: 1.959 MB / 1.374 GB, free: 7.73 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/1.436, allocations: 3.984 kB / 1.374 GB, free: 7.727 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000168/1.436, allocations: 73.53 kB / 1.374 GB, free: 7.672 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.85e-05/1.436, allocations: 42.72 kB / 1.374 GB, free: 7.672 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003388/1.44, allocations: 2.116 MB / 1.376 GB, free: 6.707 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.01044/1.45, allocations: 6.203 MB / 1.382 GB, free: 1.805 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003404/1.454, allocations: 2.135 MB / 1.384 GB, free: 0.582 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00129/1.455, allocations: 0.7722 MB / 1.385 GB, free: 232 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006803/1.456, allocations: 430.8 kB / 1.385 GB, free: 15.8 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001843/1.457, allocations: 1.017 MB / 1.386 GB, free: 15.22 MB / 1.061 GB Notification: Performance of pre-optimization done (n=146): time 3.807e-06/1.457, allocations: 0 / 1.386 GB, free: 15.22 MB / 1.061 GB Notification: Performance of matching and sorting (n=146): time 0.007003/1.464, allocations: 2.998 MB / 1.389 GB, free: 13.52 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/1.465, allocations: 199.7 kB / 1.389 GB, free: 13.29 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002692/1.467, allocations: 1.807 MB / 1.391 GB, free: 12.4 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001566/1.467, allocations: 55.95 kB / 1.391 GB, free: 12.35 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007672/1.468, allocations: 0.8518 MB / 1.392 GB, free: 11.6 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004332/1.469, allocations: 0.5034 MB / 1.392 GB, free: 11.15 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004394/1.469, allocations: 257 kB / 1.393 GB, free: 11 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001407/1.469, allocations: 362.8 kB / 1.393 GB, free: 10.65 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/1.471, allocations: 0.6065 MB / 1.393 GB, free: 10.37 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001503/1.472, allocations: 0.8079 MB / 1.394 GB, free: 9.898 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002593/1.475, allocations: 1.361 MB / 1.396 GB, free: 9.207 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/1.475, allocations: 0 / 1.396 GB, free: 9.207 MB / 1.061 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004306/1.479, allocations: 1.847 MB / 1.397 GB, free: 7.336 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/1.479, allocations: 8 kB / 1.397 GB, free: 7.328 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/1.479, allocations: 4 kB / 1.397 GB, free: 7.324 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/1.48, allocations: 208 kB / 1.398 GB, free: 7.105 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/1.482, allocations: 347.5 kB / 1.398 GB, free: 6.766 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006246/1.488, allocations: 7.327 MB / 1.405 GB, free: 14.75 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/1.49, allocations: 171.1 kB / 1.405 GB, free: 14.58 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001818/1.49, allocations: 59.95 kB / 1.405 GB, free: 14.52 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.001133/1.491, allocations: 491.2 kB / 1.406 GB, free: 14.03 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006272/1.492, allocations: 190.8 kB / 1.406 GB, free: 13.84 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004726/1.496, allocations: 2.137 MB / 1.408 GB, free: 11.68 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/1.496, allocations: 12 kB / 1.408 GB, free: 11.66 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.955e-05/1.496, allocations: 4 kB / 1.408 GB, free: 11.66 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.728e-05/1.497, allocations: 7.969 kB / 1.408 GB, free: 11.65 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007398/1.504, allocations: 4.009 MB / 1.412 GB, free: 7.562 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/1.504, allocations: 0 / 1.412 GB, free: 7.562 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001464/1.505, allocations: 331.5 kB / 1.412 GB, free: 7.238 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008687/1.506, allocations: 196.1 kB / 1.412 GB, free: 7.031 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001234/1.506, allocations: 43.95 kB / 1.412 GB, free: 6.988 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006101/1.513, allocations: 7.367 MB / 1.42 GB, free: 14.91 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/1.513, allocations: 11.95 kB / 1.42 GB, free: 14.9 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004209/1.517, allocations: 2.013 MB / 1.422 GB, free: 12.85 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009843/1.518, allocations: 483.2 kB / 1.422 GB, free: 12.36 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004402/1.518, allocations: 28 kB / 1.422 GB, free: 12.33 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001575/1.52, allocations: 109.9 kB / 1.422 GB, free: 12.23 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000258/1.52, allocations: 113.2 kB / 1.422 GB, free: 12.12 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001642/1.52, allocations: 71.94 kB / 1.422 GB, free: 12.05 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001935/1.522, allocations: 1.293 MB / 1.424 GB, free: 10.76 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.51e-07/1.522, allocations: 0 / 1.424 GB, free: 10.76 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002169/1.524, allocations: 0.686 MB / 1.424 GB, free: 10.07 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.002047/1.526, allocations: 0.7641 MB / 1.425 GB, free: 9.488 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003892/1.53, allocations: 2.105 MB / 1.427 GB, free: 7.316 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/1.53, allocations: 4.562 kB / 1.427 GB, free: 7.312 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.00231/1.533, allocations: 1.422 MB / 1.429 GB, free: 5.828 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002919/1.536, allocations: 0.5522 MB / 1.429 GB, free: 5.301 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007936/1.544, allocations: 3.893 MB / 1.433 GB, free: 1.359 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001749/1.545, allocations: 1.537 MB / 1.434 GB, free: 15.79 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001871/1.547, allocations: 0.497 MB / 1.435 GB, free: 15.29 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006152/1.548, allocations: 171.3 kB / 1.435 GB, free: 15.12 MB / 1.107 GB Notification: Performance of SimCode: time 6.32e-07/1.548, allocations: 0 / 1.435 GB, free: 15.12 MB / 1.107 GB Notification: Performance of Templates: time 0.05384/1.602, allocations: 32.41 MB / 1.467 GB, free: 15.07 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