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.008276/0.008276, allocations: 101.1 kB / 15.73 MB, free: 6.043 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.001956/0.001956, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.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.514/2.514, allocations: 390.2 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 67.03 kB / 0.9508 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3066, allocations: 140.4 MB / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1748/0.4815, allocations: 167.2 MB / 1.251 GB, free: 9.633 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.6818/1.163, allocations: 17.19 MB / 1.268 GB, free: 3.5 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001854/1.165, allocations: 29.47 kB / 1.268 GB, free: 3.5 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002116/1.167, allocations: 0.5527 MB / 1.269 GB, free: 3.488 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006122/1.174, allocations: 1.719 MB / 1.27 GB, free: 3.438 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004783/1.178, allocations: 1.43 MB / 1.272 GB, free: 3.402 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004874/1.183, allocations: 2.688 MB / 1.274 GB, free: 3.395 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00428/1.188, allocations: 1.997 MB / 1.276 GB, free: 3.172 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006066/1.194, allocations: 1.446 MB / 1.278 GB, free: 3.156 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00333/1.197, allocations: 1.091 MB / 1.279 GB, free: 3.156 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001553/1.199, allocations: 222.8 kB / 1.279 GB, free: 3.156 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00553/1.204, allocations: 1.554 MB / 1.28 GB, free: 3.133 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002018/1.206, allocations: 0.7946 MB / 1.281 GB, free: 3.133 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003882/1.21, allocations: 1.181 MB / 1.282 GB, free: 3.031 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.009886/1.22, allocations: 3.541 MB / 1.286 GB, free: 2.508 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/1.22, allocations: 2.578 kB / 1.286 GB, free: 2.508 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.994e-06/1.22, allocations: 0 / 1.286 GB, free: 2.508 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001656/1.22, allocations: 0 / 1.286 GB, free: 2.508 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.01131/1.232, allocations: 2.744 MB / 1.288 GB, free: 1.188 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.846e-05/1.232, allocations: 10.91 kB / 1.289 GB, free: 1.188 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005279/1.237, allocations: 0.5529 MB / 1.289 GB, free: 1.059 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003769/1.241, allocations: 1.635 MB / 1.291 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001509/1.241, allocations: 132.4 kB / 1.291 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003292/1.241, allocations: 169.5 kB / 1.291 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004152/1.245, allocations: 1.955 MB / 1.293 GB, free: 416 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.547e-05/1.245, allocations: 3.938 kB / 1.293 GB, free: 416 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001781/1.246, allocations: 77.69 kB / 1.293 GB, free: 412 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.836e-05/1.246, allocations: 45.83 kB / 1.293 GB, free: 408 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003774/1.249, allocations: 2.116 MB / 1.295 GB, free: 392 kB / 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.01025/1.26, allocations: 5.815 MB / 1.301 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003502/1.263, allocations: 2.129 MB / 1.303 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001286/1.265, allocations: 0.7738 MB / 1.304 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006365/1.265, allocations: 430.2 kB / 1.304 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001813/1.267, allocations: 1.008 MB / 1.305 GB, free: 13.63 MB / 1.029 GB Notification: Performance of pre-optimization done (n=146): time 3.797e-06/1.267, allocations: 1 kB / 1.305 GB, free: 13.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=146): time 0.007189/1.274, allocations: 2.988 MB / 1.308 GB, free: 12.96 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001522/1.274, allocations: 196.9 kB / 1.308 GB, free: 12.74 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002806/1.277, allocations: 1.809 MB / 1.31 GB, free: 12.56 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002715/1.277, allocations: 58.64 kB / 1.31 GB, free: 12.53 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009056/1.278, allocations: 0.8389 MB / 1.311 GB, free: 12.24 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004684/1.279, allocations: 486.7 kB / 1.311 GB, free: 11.93 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000442/1.279, allocations: 259 kB / 1.311 GB, free: 11.91 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001413/1.279, allocations: 358.3 kB / 1.312 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/1.281, allocations: 0.6018 MB / 1.312 GB, free: 11.6 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00138/1.282, allocations: 0.8146 MB / 1.313 GB, free: 11.46 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002366/1.284, allocations: 1.356 MB / 1.314 GB, free: 11.4 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/1.284, allocations: 0.9375 kB / 1.314 GB, free: 11.4 MB / 1.029 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004062/1.289, allocations: 1.836 MB / 1.316 GB, free: 11.2 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/1.289, allocations: 6.781 kB / 1.316 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/1.289, allocations: 2.719 kB / 1.316 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/1.29, allocations: 214.7 kB / 1.316 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001572/1.291, allocations: 340.2 kB / 1.317 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006167/1.297, allocations: 7.32 MB / 1.324 GB, free: 4.375 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002133/1.3, allocations: 168.4 kB / 1.324 GB, free: 4.316 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000144/1.3, allocations: 57.86 kB / 1.324 GB, free: 4.316 MB / 1.029 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.001247/1.301, allocations: 494.8 kB / 1.325 GB, free: 4.191 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004542/1.301, allocations: 181.2 kB / 1.325 GB, free: 4.098 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004325/1.306, allocations: 2.142 MB / 1.327 GB, free: 3.883 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/1.306, allocations: 14.31 kB / 1.327 GB, free: 3.883 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/1.306, allocations: 2.156 kB / 1.327 GB, free: 3.883 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.935e-05/1.306, allocations: 8.625 kB / 1.327 GB, free: 3.883 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007292/1.313, allocations: 4.004 MB / 1.331 GB, free: 2.289 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/1.313, allocations: 0.8125 kB / 1.331 GB, free: 2.289 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001445/1.315, allocations: 321.6 kB / 1.331 GB, free: 2.281 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008207/1.315, allocations: 203.4 kB / 1.331 GB, free: 2.211 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/1.316, allocations: 45.62 kB / 1.331 GB, free: 2.188 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006097/1.322, allocations: 7.356 MB / 1.339 GB, free: 10.96 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/1.322, allocations: 0.9688 kB / 1.339 GB, free: 10.96 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004314/1.326, allocations: 2.008 MB / 1.34 GB, free: 10.16 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009721/1.327, allocations: 477.9 kB / 1.341 GB, free: 9.852 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002367/1.327, allocations: 29.39 kB / 1.341 GB, free: 9.832 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001265/1.328, allocations: 108.5 kB / 1.341 GB, free: 9.809 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002371/1.329, allocations: 112.1 kB / 1.341 GB, free: 9.793 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001509/1.329, allocations: 73.33 kB / 1.341 GB, free: 9.777 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001649/1.331, allocations: 1.293 MB / 1.343 GB, free: 9.332 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.91e-07/1.331, allocations: 0 / 1.343 GB, free: 9.332 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001927/1.333, allocations: 0.6704 MB / 1.343 GB, free: 9.16 MB / 1.045 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.00178/1.334, allocations: 0.7557 MB / 1.344 GB, free: 8.883 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003595/1.338, allocations: 2.105 MB / 1.346 GB, free: 7.875 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/1.338, allocations: 6.359 kB / 1.346 GB, free: 7.871 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002137/1.34, allocations: 1.43 MB / 1.347 GB, free: 7.062 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002303/1.342, allocations: 0.5169 MB / 1.348 GB, free: 6.871 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007282/1.35, allocations: 3.932 MB / 1.352 GB, free: 5.137 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001132/1.351, allocations: 1.548 MB / 1.353 GB, free: 4.328 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001797/1.353, allocations: 0.4926 MB / 1.354 GB, free: 4.184 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004915/1.353, allocations: 173.2 kB / 1.354 GB, free: 4.16 MB / 1.045 GB Notification: Performance of SimCode: time 7.31e-07/1.353, allocations: 0 / 1.354 GB, free: 4.16 MB / 1.045 GB Notification: Performance of Templates: time 0.05689/1.41, allocations: 31.57 MB / 1.385 GB, free: 15.08 MB / 1.076 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/jenkins/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