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.001342/0.001342, allocations: 107.1 kB / 16.41 MB, free: 6.461 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.001371/0.001371, allocations: 187 kB / 17.34 MB, free: 5.719 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.459/1.459, allocations: 222.9 MB / 241 MB, free: 15.14 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.347/2.347, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 67.91 kB / 0.9515 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9073/0.9088, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.2129/1.122, allocations: 167.2 MB / 1.252 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02356/1.145, allocations: 17.2 MB / 1.269 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001977/1.147, allocations: 27.81 kB / 1.269 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002122/1.149, allocations: 0.5313 MB / 1.269 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005761/1.155, allocations: 1.687 MB / 1.271 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004166/1.159, allocations: 1.432 MB / 1.272 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00377/1.163, allocations: 2.689 MB / 1.275 GB, free: 14.84 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003186/1.166, allocations: 2.002 MB / 1.277 GB, free: 12.79 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004499/1.171, allocations: 1.41 MB / 1.278 GB, free: 11.42 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001766/1.173, allocations: 1.081 MB / 1.279 GB, free: 10.34 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0007055/1.173, allocations: 232 kB / 1.28 GB, free: 10.11 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003615/1.177, allocations: 1.556 MB / 1.281 GB, free: 8.551 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000988/1.178, allocations: 0.7946 MB / 1.282 GB, free: 7.754 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001799/1.18, allocations: 1.177 MB / 1.283 GB, free: 6.57 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005707/1.186, allocations: 3.536 MB / 1.286 GB, free: 3.023 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.186, allocations: 0 / 1.286 GB, free: 3.023 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.184e-06/1.186, allocations: 4 kB / 1.286 GB, free: 3.02 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001097/1.186, allocations: 0 / 1.286 GB, free: 3.02 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.006404/1.192, allocations: 2.739 MB / 1.289 GB, free: 224 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/1.192, allocations: 16.03 kB / 1.289 GB, free: 208 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004266/1.197, allocations: 0.5473 MB / 1.29 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003483/1.2, allocations: 1.631 MB / 1.291 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/1.2, allocations: 131.4 kB / 1.291 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004597/1.201, allocations: 175.9 kB / 1.292 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004586/1.205, allocations: 1.957 MB / 1.293 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.554e-05/1.205, allocations: 4 kB / 1.293 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002903/1.206, allocations: 72 kB / 1.294 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.041e-05/1.206, allocations: 40 kB / 1.294 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004081/1.21, allocations: 2.12 MB / 1.296 GB, free: 9.422 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.01081/1.221, allocations: 5.817 MB / 1.301 GB, free: 3.344 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003593/1.224, allocations: 2.129 MB / 1.303 GB, free: 1.129 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001366/1.226, allocations: 0.7728 MB / 1.304 GB, free: 360 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006492/1.226, allocations: 437.6 kB / 1.305 GB, free: 15.85 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001904/1.228, allocations: 1.01 MB / 1.306 GB, free: 14.82 MB / 1.045 GB Notification: Performance of pre-optimization done (n=146): time 5.15e-06/1.228, allocations: 0 / 1.306 GB, free: 14.82 MB / 1.045 GB Notification: Performance of matching and sorting (n=146): time 0.007042/1.235, allocations: 2.981 MB / 1.308 GB, free: 11.73 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/1.235, allocations: 197.2 kB / 1.309 GB, free: 11.49 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002915/1.238, allocations: 1.809 MB / 1.31 GB, free: 9.668 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002851/1.239, allocations: 61.7 kB / 1.31 GB, free: 9.602 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007749/1.239, allocations: 0.8389 MB / 1.311 GB, free: 8.75 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005178/1.24, allocations: 481 kB / 1.312 GB, free: 8.273 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004759/1.24, allocations: 258.8 kB / 1.312 GB, free: 8.016 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001441/1.241, allocations: 357.9 kB / 1.312 GB, free: 7.66 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001181/1.242, allocations: 0.5999 MB / 1.313 GB, free: 7.059 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001375/1.243, allocations: 0.813 MB / 1.314 GB, free: 6.195 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002438/1.246, allocations: 1.36 MB / 1.315 GB, free: 4.824 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/1.246, allocations: 4 kB / 1.315 GB, free: 4.82 MB / 1.045 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004252/1.25, allocations: 1.838 MB / 1.317 GB, free: 2.957 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/1.25, allocations: 13.81 kB / 1.317 GB, free: 2.945 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/1.25, allocations: 0 / 1.317 GB, free: 2.945 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/1.251, allocations: 200.1 kB / 1.317 GB, free: 2.734 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/1.253, allocations: 347.5 kB / 1.317 GB, free: 2.395 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006727/1.259, allocations: 7.317 MB / 1.325 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001834/1.261, allocations: 166.8 kB / 1.325 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003053/1.262, allocations: 55.97 kB / 1.325 GB, free: 10.16 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.00145/1.263, allocations: 0.4914 MB / 1.325 GB, free: 9.656 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000808/1.264, allocations: 177.8 kB / 1.325 GB, free: 9.48 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00542/1.269, allocations: 2.148 MB / 1.327 GB, free: 7.301 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.875e-05/1.269, allocations: 16 kB / 1.328 GB, free: 7.285 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.679e-05/1.269, allocations: 4 kB / 1.328 GB, free: 7.281 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-05/1.269, allocations: 7.969 kB / 1.328 GB, free: 7.273 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00854/1.278, allocations: 3.998 MB / 1.331 GB, free: 3.195 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/1.278, allocations: 3.938 kB / 1.331 GB, free: 3.191 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001574/1.28, allocations: 323.5 kB / 1.332 GB, free: 2.875 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009002/1.281, allocations: 196.1 kB / 1.332 GB, free: 2.668 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001654/1.281, allocations: 39.97 kB / 1.332 GB, free: 2.629 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007242/1.288, allocations: 7.363 MB / 1.339 GB, free: 10.56 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/1.288, allocations: 7.969 kB / 1.339 GB, free: 10.55 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005008/1.293, allocations: 2 MB / 1.341 GB, free: 8.516 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001217/1.294, allocations: 478.2 kB / 1.342 GB, free: 8.027 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004798/1.295, allocations: 35.98 kB / 1.342 GB, free: 7.992 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001549/1.296, allocations: 110.5 kB / 1.342 GB, free: 7.887 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002799/1.297, allocations: 113.2 kB / 1.342 GB, free: 7.777 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002099/1.297, allocations: 76.12 kB / 1.342 GB, free: 7.703 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002219/1.299, allocations: 1.293 MB / 1.343 GB, free: 6.414 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.6e-07/1.299, allocations: 0 / 1.343 GB, free: 6.414 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002274/1.301, allocations: 0.6586 MB / 1.344 GB, free: 5.754 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.00213/1.304, allocations: 0.7525 MB / 1.345 GB, free: 5.188 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004061/1.308, allocations: 2.106 MB / 1.347 GB, free: 3.016 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/1.308, allocations: 4.547 kB / 1.347 GB, free: 3.012 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002364/1.31, allocations: 1.43 MB / 1.348 GB, free: 1.52 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002938/1.313, allocations: 0.5229 MB / 1.348 GB, free: 1.016 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009181/1.322, allocations: 3.881 MB / 1.352 GB, free: 13.09 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001701/1.324, allocations: 1.49 MB / 1.354 GB, free: 11.57 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009091/1.325, allocations: 195.3 kB / 1.354 GB, free: 11.39 MB / 1.092 GB Notification: Performance of SimCode: time 1.222e-06/1.325, allocations: 0 / 1.354 GB, free: 11.39 MB / 1.092 GB Notification: Performance of Templates: time 0.08133/1.406, allocations: 67.15 MB / 1.42 GB, free: 8.273 MB / 1.154 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/jenkins1/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