Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001385/0.001385, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001332/0.001332, allocations: 200.6 kB / 16.26 MB, free: 6.629 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.452/1.452, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.945/2.945, allocations: 469.8 MB / 0.742 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 73.62 kB / 0.908 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3252, allocations: 159.2 MB / 1.063 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.2225/0.5477, allocations: 166.1 MB / 1.226 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02508/0.5729, allocations: 17.18 MB / 1.242 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001807/0.5747, allocations: 27.81 kB / 1.243 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002095/0.5769, allocations: 489 kB / 1.243 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005653/0.5825, allocations: 1.623 MB / 1.245 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003902/0.5864, allocations: 1.312 MB / 1.246 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004211/0.5907, allocations: 2.875 MB / 1.249 GB, free: 296 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6734/1.264, allocations: 1.926 MB / 1.251 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007163/1.271, allocations: 1.435 MB / 1.252 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002692/1.274, allocations: 1.159 MB / 1.253 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008704/1.275, allocations: 221.6 kB / 1.253 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004253/1.279, allocations: 1.563 MB / 1.255 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008807/1.28, allocations: 0.7914 MB / 1.256 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001766/1.282, allocations: 1.226 MB / 1.257 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005948/1.288, allocations: 3.603 MB / 1.26 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/1.288, allocations: 0 / 1.26 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.583e-06/1.288, allocations: 0.7188 kB / 1.26 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.627e-05/1.288, allocations: 0 / 1.26 GB, free: 5.688 MB / 0.9981 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.006539/1.294, allocations: 2.773 MB / 1.263 GB, free: 20.35 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/1.295, allocations: 10.34 kB / 1.263 GB, free: 20.35 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003968/1.299, allocations: 0.5557 MB / 1.264 GB, free: 20.22 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003066/1.302, allocations: 1.594 MB / 1.265 GB, free: 19.76 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.905e-05/1.302, allocations: 130.8 kB / 1.265 GB, free: 19.75 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002329/1.302, allocations: 170.1 kB / 1.265 GB, free: 19.75 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004214/1.306, allocations: 1.955 MB / 1.267 GB, free: 19.57 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.215e-05/1.306, allocations: 0.6875 kB / 1.267 GB, free: 19.57 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001996/1.306, allocations: 77.06 kB / 1.267 GB, free: 19.57 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.245e-05/1.307, allocations: 40.75 kB / 1.267 GB, free: 19.57 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004553/1.311, allocations: 2.112 MB / 1.269 GB, free: 19.56 MB / 1.014 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.01409/1.325, allocations: 6.241 MB / 1.276 GB, free: 17.26 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004163/1.329, allocations: 2.135 MB / 1.278 GB, free: 16.84 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00158/1.331, allocations: 0.778 MB / 1.278 GB, free: 16.81 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007589/1.332, allocations: 432.2 kB / 1.279 GB, free: 16.44 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001949/1.334, allocations: 1.013 MB / 1.28 GB, free: 16.35 MB / 1.014 GB Notification: Performance of pre-optimization done (n=146): time 7.504e-06/1.334, allocations: 0 / 1.28 GB, free: 16.35 MB / 1.014 GB Notification: Performance of matching and sorting (n=146): time 0.007918/1.342, allocations: 2.991 MB / 1.283 GB, free: 15.67 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001572/1.342, allocations: 200.1 kB / 1.283 GB, free: 15.45 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00373/1.346, allocations: 1.805 MB / 1.285 GB, free: 15.28 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0004199/1.346, allocations: 57.86 kB / 1.285 GB, free: 15.25 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009181/1.347, allocations: 0.8491 MB / 1.286 GB, free: 14.95 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005962/1.348, allocations: 482.5 kB / 1.286 GB, free: 14.64 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006491/1.348, allocations: 261.2 kB / 1.286 GB, free: 14.62 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002099/1.348, allocations: 354.3 kB / 1.287 GB, free: 14.32 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/1.35, allocations: 0.6066 MB / 1.287 GB, free: 14.32 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001464/1.351, allocations: 0.8103 MB / 1.288 GB, free: 14.17 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00263/1.354, allocations: 1.357 MB / 1.289 GB, free: 14.11 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/1.354, allocations: 0.8438 kB / 1.289 GB, free: 14.11 MB / 1.014 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004577/1.359, allocations: 1.839 MB / 1.291 GB, free: 13.91 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/1.359, allocations: 5.719 kB / 1.291 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/1.359, allocations: 2.094 kB / 1.291 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/1.36, allocations: 211.8 kB / 1.291 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/1.361, allocations: 341.7 kB / 1.292 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007122/1.368, allocations: 7.336 MB / 1.299 GB, free: 7.094 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002333/1.371, allocations: 185.8 kB / 1.299 GB, free: 7.035 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003702/1.371, allocations: 59.23 kB / 1.299 GB, free: 7.035 MB / 1.014 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.001616/1.373, allocations: 0.4884 MB / 1.3 GB, free: 6.906 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000862/1.374, allocations: 178.2 kB / 1.3 GB, free: 6.816 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005181/1.379, allocations: 2.145 MB / 1.302 GB, free: 6.652 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/1.379, allocations: 16.53 kB / 1.302 GB, free: 6.652 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.527e-05/1.379, allocations: 6.375 kB / 1.302 GB, free: 6.648 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.027e-05/1.379, allocations: 10.22 kB / 1.302 GB, free: 6.648 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008267/1.387, allocations: 3.999 MB / 1.306 GB, free: 6.207 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/1.387, allocations: 0.875 kB / 1.306 GB, free: 6.207 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001438/1.389, allocations: 322.8 kB / 1.306 GB, free: 6.207 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008505/1.39, allocations: 197.1 kB / 1.306 GB, free: 6.168 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001392/1.39, allocations: 43.62 kB / 1.306 GB, free: 6.168 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007387/1.397, allocations: 7.361 MB / 1.313 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.397, allocations: 3.75 kB / 1.313 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004961/1.402, allocations: 2.007 MB / 1.315 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001503/1.404, allocations: 475.8 kB / 1.316 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000585/1.404, allocations: 32.67 kB / 1.316 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001904/1.406, allocations: 142.9 kB / 1.316 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003153/1.407, allocations: 116.5 kB / 1.316 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002016/1.407, allocations: 71.83 kB / 1.316 GB, free: 14.84 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002055/1.409, allocations: 1.294 MB / 1.317 GB, free: 14.73 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.31e-07/1.409, allocations: 0 / 1.317 GB, free: 14.73 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002868/1.412, allocations: 0.6787 MB / 1.318 GB, free: 14.64 MB / 1.029 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.00274/1.414, allocations: 0.7626 MB / 1.319 GB, free: 14.41 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005689/1.42, allocations: 2.541 MB / 1.321 GB, free: 13.81 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/1.42, allocations: 1.594 kB / 1.321 GB, free: 13.81 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002141/1.422, allocations: 1.424 MB / 1.323 GB, free: 13.25 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002961/1.425, allocations: 0.545 MB / 1.323 GB, free: 13.19 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00769/1.433, allocations: 4.72 MB / 1.328 GB, free: 10.99 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001454/1.434, allocations: 1.535 MB / 1.329 GB, free: 10.24 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002384/1.437, allocations: 0.4895 MB / 1.33 GB, free: 10.09 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006682/1.438, allocations: 177.4 kB / 1.33 GB, free: 10.08 MB / 1.029 GB Notification: Performance of SimCode: time 9.52e-07/1.438, allocations: 3.938 kB / 1.33 GB, free: 10.08 MB / 1.029 GB Notification: Performance of Templates: time 0.0618/1.499, allocations: 31.93 MB / 1.361 GB, free: 13.82 MB / 1.045 GB make -j1 -f Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.makefile (rm -f Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & ./Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches