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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001112/0.001112, allocations: 106.9 kB / 16.37 MB, free: 6.477 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.001107/0.001108, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.38/1.38, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.282/2.282, allocations: 390.3 MB / 0.6655 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 64.12 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2876, allocations: 140.4 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.7326/1.02, allocations: 167.2 MB / 1.114 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02428/1.045, allocations: 17.2 MB / 1.131 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002938/1.048, allocations: 30.06 kB / 1.131 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002375/1.05, allocations: 0.5297 MB / 1.132 GB, free: 5.398 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.007218/1.057, allocations: 1.688 MB / 1.133 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004738/1.062, allocations: 1.428 MB / 1.135 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004892/1.067, allocations: 2.678 MB / 1.137 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003009/1.07, allocations: 1.996 MB / 1.139 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004627/1.075, allocations: 1.409 MB / 1.141 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002052/1.077, allocations: 1.093 MB / 1.142 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0005268/1.077, allocations: 221.2 kB / 1.142 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004234/1.081, allocations: 1.559 MB / 1.144 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000788/1.082, allocations: 0.7956 MB / 1.144 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00147/1.084, allocations: 1.178 MB / 1.145 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.006869/1.091, allocations: 3.538 MB / 1.149 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/1.091, allocations: 1.156 kB / 1.149 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.114e-06/1.091, allocations: 0 / 1.149 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.181e-05/1.091, allocations: 0 / 1.149 GB, free: 1.816 MB / 0.8575 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.006386/1.097, allocations: 2.738 MB / 1.152 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/1.097, allocations: 10.81 kB / 1.152 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004096/1.101, allocations: 0.5596 MB / 1.152 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003393/1.105, allocations: 1.635 MB / 1.154 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/1.105, allocations: 130.9 kB / 1.154 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002568/1.105, allocations: 165.8 kB / 1.154 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004599/1.11, allocations: 1.962 MB / 1.156 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.682e-05/1.11, allocations: 1.281 kB / 1.156 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001888/1.11, allocations: 72 kB / 1.156 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-05/1.11, allocations: 40.31 kB / 1.156 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004261/1.114, allocations: 2.115 MB / 1.158 GB, free: 13.64 MB / 0.8731 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.01072/1.125, allocations: 5.813 MB / 1.164 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003364/1.128, allocations: 2.13 MB / 1.166 GB, free: 9.43 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001305/1.13, allocations: 0.7756 MB / 1.167 GB, free: 9.16 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006079/1.13, allocations: 423 kB / 1.167 GB, free: 8.777 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001724/1.132, allocations: 1.016 MB / 1.168 GB, free: 8.266 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=146): time 3.046e-06/1.132, allocations: 0 / 1.168 GB, free: 8.266 MB / 0.8731 GB Notification: Performance of matching and sorting (n=146): time 0.006956/1.139, allocations: 2.983 MB / 1.171 GB, free: 6.578 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/1.139, allocations: 200.8 kB / 1.171 GB, free: 6.355 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002793/1.142, allocations: 1.805 MB / 1.173 GB, free: 5.461 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0003041/1.142, allocations: 64.62 kB / 1.173 GB, free: 5.402 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007679/1.143, allocations: 0.8356 MB / 1.174 GB, free: 4.668 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004565/1.144, allocations: 480.8 kB / 1.174 GB, free: 4.262 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004091/1.144, allocations: 266.5 kB / 1.174 GB, free: 4.105 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001442/1.144, allocations: 356.7 kB / 1.175 GB, free: 3.762 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/1.145, allocations: 0.6128 MB / 1.175 GB, free: 3.477 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001334/1.147, allocations: 0.8121 MB / 1.176 GB, free: 2.996 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00231/1.149, allocations: 1.355 MB / 1.178 GB, free: 2.344 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/1.149, allocations: 2.406 kB / 1.178 GB, free: 2.344 MB / 0.8731 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003985/1.153, allocations: 1.836 MB / 1.179 GB, free: 1.449 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/1.153, allocations: 7.312 kB / 1.179 GB, free: 1.445 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/1.153, allocations: 6.188 kB / 1.179 GB, free: 1.441 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/1.154, allocations: 199.2 kB / 1.18 GB, free: 1.332 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/1.156, allocations: 346.8 kB / 1.18 GB, free: 1.238 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005849/1.161, allocations: 7.313 MB / 1.187 GB, free: 9.773 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/1.163, allocations: 175.1 kB / 1.187 GB, free: 9.66 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001313/1.164, allocations: 56.42 kB / 1.187 GB, free: 9.637 MB / 0.8887 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.001172/1.165, allocations: 489.5 kB / 1.188 GB, free: 9.309 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004618/1.165, allocations: 181.3 kB / 1.188 GB, free: 9.215 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004292/1.169, allocations: 2.142 MB / 1.19 GB, free: 8.062 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/1.17, allocations: 13.53 kB / 1.19 GB, free: 8.062 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/1.17, allocations: 2.094 kB / 1.19 GB, free: 8.062 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.687e-05/1.17, allocations: 7.969 kB / 1.19 GB, free: 8.055 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007236/1.177, allocations: 4.012 MB / 1.194 GB, free: 5.645 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/1.177, allocations: 0 / 1.194 GB, free: 5.645 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001432/1.178, allocations: 326.7 kB / 1.194 GB, free: 5.562 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008607/1.179, allocations: 200.1 kB / 1.194 GB, free: 5.445 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001778/1.179, allocations: 44.58 kB / 1.194 GB, free: 5.414 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006688/1.186, allocations: 7.347 MB / 1.202 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.186, allocations: 18.14 kB / 1.202 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006345/1.192, allocations: 2.011 MB / 1.204 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00199/1.194, allocations: 467.9 kB / 1.204 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003697/1.195, allocations: 35.47 kB / 1.204 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001686/1.197, allocations: 111.9 kB / 1.204 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003857/1.197, allocations: 113.8 kB / 1.204 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002361/1.197, allocations: 70.75 kB / 1.204 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.00256/1.2, allocations: 1.296 MB / 1.206 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.01e-07/1.2, allocations: 0 / 1.206 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002691/1.202, allocations: 0.6621 MB / 1.206 GB, free: 11.5 MB / 0.9044 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.00243/1.205, allocations: 0.7597 MB / 1.207 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.005346/1.21, allocations: 2.103 MB / 1.209 GB, free: 9.918 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-05/1.21, allocations: 6.984 kB / 1.209 GB, free: 9.914 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002917/1.213, allocations: 1.421 MB / 1.21 GB, free: 8.961 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003965/1.217, allocations: 0.5254 MB / 1.211 GB, free: 8.672 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01312/1.23, allocations: 3.929 MB / 1.215 GB, free: 5.812 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0027/1.233, allocations: 1.535 MB / 1.216 GB, free: 4.25 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.003481/1.237, allocations: 0.5007 MB / 1.217 GB, free: 3.742 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00105/1.238, allocations: 175.4 kB / 1.217 GB, free: 3.574 MB / 0.9044 GB Notification: Performance of SimCode: time 1.433e-06/1.238, allocations: 0 / 1.217 GB, free: 3.574 MB / 0.9044 GB Notification: Performance of Templates: time 0.07568/1.313, allocations: 31.25 MB / 1.248 GB, free: 4.688 MB / 0.9356 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 -s cvode -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