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.001617/0.001617, allocations: 104.9 kB / 16.41 MB, free: 6.512 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.001804/0.001804, allocations: 189.7 kB / 17.34 MB, free: 5.738 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.427/1.427, allocations: 222.9 MB / 241.1 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.259/2.259, allocations: 390.2 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 63.91 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8838/0.8854, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.209/1.094, allocations: 167.2 MB / 1.252 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02601/1.12, allocations: 17.21 MB / 1.269 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001967/1.122, allocations: 31.81 kB / 1.269 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002063/1.125, allocations: 0.5508 MB / 1.269 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005895/1.131, allocations: 1.717 MB / 1.271 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004194/1.135, allocations: 1.429 MB / 1.272 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004194/1.139, allocations: 2.693 MB / 1.275 GB, free: 14.82 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003343/1.142, allocations: 2.006 MB / 1.277 GB, free: 12.77 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004507/1.147, allocations: 1.441 MB / 1.278 GB, free: 11.37 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001838/1.149, allocations: 1.085 MB / 1.279 GB, free: 10.28 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0007124/1.149, allocations: 220 kB / 1.28 GB, free: 10.06 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003693/1.153, allocations: 1.556 MB / 1.281 GB, free: 8.504 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001116/1.154, allocations: 0.7946 MB / 1.282 GB, free: 7.707 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002143/1.156, allocations: 1.189 MB / 1.283 GB, free: 6.512 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006411/1.163, allocations: 3.544 MB / 1.287 GB, free: 2.957 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/1.163, allocations: 0 / 1.287 GB, free: 2.957 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.434e-06/1.163, allocations: 0 / 1.287 GB, free: 2.957 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001135/1.163, allocations: 0 / 1.287 GB, free: 2.957 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.006326/1.169, allocations: 2.736 MB / 1.289 GB, free: 164 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/1.169, allocations: 12.02 kB / 1.289 GB, free: 152 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00403/1.173, allocations: 0.5551 MB / 1.29 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003185/1.177, allocations: 1.631 MB / 1.291 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/1.177, allocations: 131.4 kB / 1.291 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004185/1.177, allocations: 164 kB / 1.292 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004475/1.182, allocations: 1.965 MB / 1.294 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.604e-05/1.182, allocations: 3.938 kB / 1.294 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000245/1.182, allocations: 72 kB / 1.294 GB, free: 11.53 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.033e-05/1.182, allocations: 40 kB / 1.294 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004046/1.186, allocations: 2.117 MB / 1.296 GB, free: 9.367 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.01118/1.197, allocations: 5.811 MB / 1.301 GB, free: 3.297 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003742/1.201, allocations: 2.127 MB / 1.303 GB, free: 1.086 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001421/1.203, allocations: 0.7767 MB / 1.304 GB, free: 312 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006517/1.203, allocations: 433.6 kB / 1.305 GB, free: 15.8 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001959/1.205, allocations: 1.013 MB / 1.306 GB, free: 14.77 MB / 1.045 GB Notification: Performance of pre-optimization done (n=146): time 3.466e-06/1.205, allocations: 0 / 1.306 GB, free: 14.77 MB / 1.045 GB Notification: Performance of matching and sorting (n=146): time 0.007186/1.213, allocations: 2.985 MB / 1.309 GB, free: 11.68 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/1.213, allocations: 205.2 kB / 1.309 GB, free: 11.43 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002878/1.216, allocations: 1.801 MB / 1.311 GB, free: 9.617 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002233/1.216, allocations: 57.7 kB / 1.311 GB, free: 9.555 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008205/1.217, allocations: 0.8389 MB / 1.311 GB, free: 8.703 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005056/1.217, allocations: 481 kB / 1.312 GB, free: 8.227 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004567/1.218, allocations: 254.8 kB / 1.312 GB, free: 7.973 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001593/1.218, allocations: 361.9 kB / 1.312 GB, free: 7.613 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001237/1.219, allocations: 0.6038 MB / 1.313 GB, free: 7.008 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001428/1.221, allocations: 0.8208 MB / 1.314 GB, free: 6.137 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002538/1.223, allocations: 1.345 MB / 1.315 GB, free: 4.781 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/1.223, allocations: 0 / 1.315 GB, free: 4.781 MB / 1.045 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004273/1.227, allocations: 1.842 MB / 1.317 GB, free: 2.914 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.949e-05/1.227, allocations: 13.5 kB / 1.317 GB, free: 2.902 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/1.227, allocations: 0 / 1.317 GB, free: 2.902 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/1.229, allocations: 216.1 kB / 1.317 GB, free: 2.676 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/1.23, allocations: 339.5 kB / 1.317 GB, free: 2.344 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006374/1.237, allocations: 7.32 MB / 1.325 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/1.238, allocations: 164.4 kB / 1.325 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002792/1.239, allocations: 63.89 kB / 1.325 GB, free: 10.1 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.001205/1.24, allocations: 487.1 kB / 1.325 GB, free: 9.613 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005861/1.24, allocations: 177.8 kB / 1.325 GB, free: 9.438 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004856/1.245, allocations: 2.152 MB / 1.328 GB, free: 7.254 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/1.245, allocations: 16 kB / 1.328 GB, free: 7.238 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/1.245, allocations: 4 kB / 1.328 GB, free: 7.234 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.686e-05/1.245, allocations: 8.016 kB / 1.328 GB, free: 7.227 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008071/1.253, allocations: 3.994 MB / 1.332 GB, free: 3.152 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/1.254, allocations: 11.94 kB / 1.332 GB, free: 3.141 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001764/1.255, allocations: 319.6 kB / 1.332 GB, free: 2.828 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000896/1.256, allocations: 200.1 kB / 1.332 GB, free: 2.617 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001432/1.256, allocations: 39.97 kB / 1.332 GB, free: 2.578 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006121/1.263, allocations: 7.363 MB / 1.339 GB, free: 10.51 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/1.263, allocations: 3.938 kB / 1.339 GB, free: 10.51 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00485/1.267, allocations: 2.008 MB / 1.341 GB, free: 8.461 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/1.269, allocations: 482.1 kB / 1.342 GB, free: 7.969 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004171/1.269, allocations: 31.94 kB / 1.342 GB, free: 7.938 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/1.271, allocations: 106.5 kB / 1.342 GB, free: 7.836 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002873/1.271, allocations: 113.2 kB / 1.342 GB, free: 7.727 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001905/1.271, allocations: 71.94 kB / 1.342 GB, free: 7.656 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002051/1.273, allocations: 1.289 MB / 1.343 GB, free: 6.371 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/1.273, allocations: 0 / 1.343 GB, free: 6.371 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002148/1.275, allocations: 0.6626 MB / 1.344 GB, free: 5.707 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.002131/1.277, allocations: 0.7476 MB / 1.345 GB, free: 5.145 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004122/1.282, allocations: 2.102 MB / 1.347 GB, free: 2.977 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.307e-05/1.282, allocations: 12.61 kB / 1.347 GB, free: 2.965 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002329/1.284, allocations: 1.422 MB / 1.348 GB, free: 1.48 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003037/1.287, allocations: 0.5272 MB / 1.349 GB, free: 0.9727 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008575/1.296, allocations: 3.897 MB / 1.352 GB, free: 13.04 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00147/1.297, allocations: 1.486 MB / 1.354 GB, free: 11.52 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009271/1.298, allocations: 191.3 kB / 1.354 GB, free: 11.34 MB / 1.092 GB Notification: Performance of SimCode: time 1.062e-06/1.298, allocations: 0 / 1.354 GB, free: 11.34 MB / 1.092 GB Notification: Performance of Templates: time 0.07656/1.375, allocations: 67.15 MB / 1.42 GB, free: 8.23 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