Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001138/0.001138, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001317/0.001318, allocations: 195 kB / 16.14 MB, free: 6.648 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.354/1.354, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.737/2.737, allocations: 461.8 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 61.73 kB / 0.8984 GB, free: 37.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3229, allocations: 157.4 MB / 1.052 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1798/0.5027, allocations: 166.1 MB / 1.214 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02298/0.5258, allocations: 17.4 MB / 1.231 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002192/0.528, allocations: 31.81 kB / 1.231 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001954/0.53, allocations: 493 kB / 1.232 GB, free: 144 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005192/0.5352, allocations: 1.59 MB / 1.233 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003295/0.5385, allocations: 1.268 MB / 1.235 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003771/0.5423, allocations: 3.117 MB / 1.238 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002396/0.5447, allocations: 1.795 MB / 1.239 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004975/0.5497, allocations: 1.266 MB / 1.241 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001297/0.551, allocations: 1.093 MB / 1.242 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000281/0.5513, allocations: 120 kB / 1.242 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003168/0.5545, allocations: 1.579 MB / 1.243 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006178/0.5551, allocations: 0.697 MB / 1.244 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001195/0.5563, allocations: 1.13 MB / 1.245 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.5983/1.155, allocations: 3.508 MB / 1.249 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/1.155, allocations: 0.7812 kB / 1.249 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.264e-06/1.155, allocations: 0 / 1.249 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001177/1.155, allocations: 0 / 1.249 GB, free: 10.54 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.006685/1.161, allocations: 2.765 MB / 1.251 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 7.129e-05/1.162, allocations: 10.47 kB / 1.251 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004786/1.166, allocations: 0.5561 MB / 1.252 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003474/1.17, allocations: 1.597 MB / 1.253 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/1.17, allocations: 132.9 kB / 1.254 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002543/1.17, allocations: 167.1 kB / 1.254 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003975/1.174, allocations: 1.961 MB / 1.256 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/1.174, allocations: 0 / 1.256 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001872/1.175, allocations: 75.91 kB / 1.256 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.14e-05/1.175, allocations: 44.69 kB / 1.256 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004109/1.179, allocations: 2.111 MB / 1.258 GB, free: 8.559 MB / 0.9981 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.01229/1.191, allocations: 6.237 MB / 1.264 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00463/1.196, allocations: 2.131 MB / 1.266 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001694/1.197, allocations: 0.7744 MB / 1.267 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006757/1.198, allocations: 429.6 kB / 1.267 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002461/1.201, allocations: 1.021 MB / 1.268 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 4.819e-06/1.201, allocations: 1.094 kB / 1.268 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.009082/1.21, allocations: 2.987 MB / 1.271 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.986e-05/1.21, allocations: 199 kB / 1.271 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003054/1.213, allocations: 1.808 MB / 1.273 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003687/1.213, allocations: 58.05 kB / 1.273 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008281/1.214, allocations: 0.838 MB / 1.274 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005077/1.215, allocations: 488 kB / 1.274 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004812/1.215, allocations: 253.6 kB / 1.275 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001224/1.215, allocations: 359.9 kB / 1.275 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/1.217, allocations: 0.6005 MB / 1.275 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/1.218, allocations: 0.8203 MB / 1.276 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002529/1.221, allocations: 1.351 MB / 1.278 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/1.221, allocations: 4 kB / 1.278 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004379/1.225, allocations: 1.839 MB / 1.279 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/1.225, allocations: 4.906 kB / 1.279 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/1.225, allocations: 0.875 kB / 1.279 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001133/1.226, allocations: 207.4 kB / 1.28 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001669/1.228, allocations: 340.1 kB / 1.28 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006628/1.234, allocations: 6.831 MB / 1.287 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00256/1.237, allocations: 184.5 kB / 1.287 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001969/1.237, allocations: 58.67 kB / 1.287 GB, free: 12.43 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.001369/1.239, allocations: 484.5 kB / 1.287 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005788/1.239, allocations: 180.9 kB / 1.287 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00521/1.244, allocations: 2.15 MB / 1.29 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-05/1.245, allocations: 15.81 kB / 1.29 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/1.245, allocations: 5.25 kB / 1.29 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.007e-05/1.245, allocations: 10.44 kB / 1.29 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008456/1.253, allocations: 4.007 MB / 1.294 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/1.253, allocations: 2.641 kB / 1.294 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001517/1.255, allocations: 322.9 kB / 1.294 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009545/1.256, allocations: 214.4 kB / 1.294 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001259/1.256, allocations: 42.58 kB / 1.294 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006267/1.262, allocations: 6.841 MB / 1.301 GB, free: 5.188 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.262, allocations: 0 / 1.301 GB, free: 5.188 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004878/1.267, allocations: 2.009 MB / 1.303 GB, free: 4.867 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/1.268, allocations: 471.1 kB / 1.303 GB, free: 4.66 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003086/1.269, allocations: 32.12 kB / 1.303 GB, free: 4.656 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001493/1.27, allocations: 144.1 kB / 1.303 GB, free: 4.641 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002794/1.27, allocations: 113.7 kB / 1.303 GB, free: 4.641 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00015/1.271, allocations: 73.34 kB / 1.303 GB, free: 4.641 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001702/1.272, allocations: 1.287 MB / 1.305 GB, free: 4.531 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.272, allocations: 0 / 1.305 GB, free: 4.531 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002263/1.275, allocations: 0.6964 MB / 1.305 GB, free: 4.426 MB / 1.014 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.001988/1.277, allocations: 0.7576 MB / 1.306 GB, free: 4.23 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003761/1.28, allocations: 2.1 MB / 1.308 GB, free: 3.641 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.28, allocations: 4.156 kB / 1.308 GB, free: 3.641 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002096/1.282, allocations: 1.432 MB / 1.31 GB, free: 3.07 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002754/1.285, allocations: 0.5071 MB / 1.31 GB, free: 3.031 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007912/1.293, allocations: 4.724 MB / 1.315 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001419/1.295, allocations: 1.533 MB / 1.316 GB, free: 60 kB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002639/1.297, allocations: 0.496 MB / 1.317 GB, free: 15.91 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005419/1.298, allocations: 164.2 kB / 1.317 GB, free: 15.91 MB / 1.029 GB Notification: Performance of SimCode: time 1.132e-06/1.298, allocations: 0 / 1.317 GB, free: 15.91 MB / 1.029 GB Notification: Performance of Templates: time 0.05759/1.355, allocations: 30.85 MB / 1.347 GB, free: 7.07 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & ./Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches