Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001595/0.001595, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001796/0.001796, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.518/1.518, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.679/2.679, allocations: 437 MB / 0.7104 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 63.91 kB / 0.8692 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7584/0.7599, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1879/0.9478, allocations: 168.5 MB / 1.182 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02282/0.9707, allocations: 17.34 MB / 1.199 GB, free: 7.953 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001967/0.9727, allocations: 35.75 kB / 1.199 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001787/0.9746, allocations: 0.5777 MB / 1.199 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00524/0.9798, allocations: 1.772 MB / 1.201 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003527/0.9834, allocations: 1.433 MB / 1.202 GB, free: 4.141 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00348/0.9869, allocations: 2.863 MB / 1.205 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002356/0.9892, allocations: 1.936 MB / 1.207 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003576/0.9928, allocations: 1.435 MB / 1.209 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001411/0.9942, allocations: 1.126 MB / 1.21 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003272/0.9946, allocations: 220 kB / 1.21 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003064/0.9976, allocations: 1.517 MB / 1.211 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006808/0.9983, allocations: 0.7946 MB / 1.212 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001463/0.9998, allocations: 1.22 MB / 1.213 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004269/1.004, allocations: 3.54 MB / 1.217 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.004, allocations: 0 / 1.217 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.543e-06/1.004, allocations: 0 / 1.217 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.089e-05/1.004, allocations: 0 / 1.217 GB, free: 5.445 MB / 0.9669 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.004575/1.009, allocations: 2.77 MB / 1.219 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/1.009, allocations: 12.03 kB / 1.219 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003559/1.012, allocations: 0.559 MB / 1.22 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002184/1.015, allocations: 1.592 MB / 1.222 GB, free: 400 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/1.015, allocations: 131.4 kB / 1.222 GB, free: 268 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002231/1.015, allocations: 168 kB / 1.222 GB, free: 100 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003229/1.018, allocations: 1.956 MB / 1.224 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.945e-05/1.018, allocations: 4 kB / 1.224 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001593/1.018, allocations: 72 kB / 1.224 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.173e-05/1.018, allocations: 40 kB / 1.224 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003543/1.022, allocations: 2.12 MB / 1.226 GB, free: 11.85 MB / 0.9825 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.008717/1.031, allocations: 6.267 MB / 1.232 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003394/1.034, allocations: 2.132 MB / 1.234 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001313/1.035, allocations: 0.7647 MB / 1.235 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006926/1.036, allocations: 433.6 kB / 1.235 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00194/1.038, allocations: 1.021 MB / 1.236 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 3.957e-06/1.038, allocations: 0 / 1.236 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of matching and sorting (n=146): time 0.007012/1.045, allocations: 2.993 MB / 1.239 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/1.045, allocations: 197.2 kB / 1.239 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00232/1.048, allocations: 1.805 MB / 1.241 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001379/1.048, allocations: 57.7 kB / 1.241 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007588/1.048, allocations: 0.8427 MB / 1.242 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004022/1.049, allocations: 481 kB / 1.243 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004274/1.049, allocations: 262.8 kB / 1.243 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001524/1.049, allocations: 357.9 kB / 1.243 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/1.051, allocations: 0.5999 MB / 1.244 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00138/1.052, allocations: 0.817 MB / 1.244 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002507/1.055, allocations: 1.353 MB / 1.246 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/1.055, allocations: 4 kB / 1.246 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00402/1.059, allocations: 1.83 MB / 1.248 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/1.059, allocations: 11.94 kB / 1.248 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/1.059, allocations: 0 / 1.248 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/1.06, allocations: 216.1 kB / 1.248 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/1.061, allocations: 331.6 kB / 1.248 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5164/1.578, allocations: 7.334 MB / 1.255 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00189/1.58, allocations: 166.5 kB / 1.255 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/1.58, allocations: 53.41 kB / 1.256 GB, free: 226.4 MB / 0.9981 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.00132/1.581, allocations: 490.3 kB / 1.256 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004932/1.582, allocations: 180 kB / 1.256 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005185/1.587, allocations: 2.144 MB / 1.258 GB, free: 225.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.479e-05/1.587, allocations: 19.91 kB / 1.258 GB, free: 225.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/1.587, allocations: 1.531 kB / 1.258 GB, free: 225.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.416e-05/1.587, allocations: 8.797 kB / 1.258 GB, free: 225.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007871/1.595, allocations: 4.011 MB / 1.262 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/1.595, allocations: 1.25 kB / 1.262 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001584/1.596, allocations: 322.7 kB / 1.263 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009337/1.597, allocations: 200.2 kB / 1.263 GB, free: 224.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/1.597, allocations: 47.12 kB / 1.263 GB, free: 224.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004821/1.602, allocations: 7.355 MB / 1.27 GB, free: 217.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.602, allocations: 0 / 1.27 GB, free: 217.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005426/1.608, allocations: 2.006 MB / 1.272 GB, free: 216.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009229/1.609, allocations: 472.1 kB / 1.272 GB, free: 216 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002397/1.609, allocations: 36.77 kB / 1.272 GB, free: 216 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/1.61, allocations: 108.1 kB / 1.272 GB, free: 216 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003767/1.611, allocations: 119 kB / 1.273 GB, free: 215.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001746/1.611, allocations: 68.84 kB / 1.273 GB, free: 215.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00194/1.613, allocations: 1.292 MB / 1.274 GB, free: 215.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/1.613, allocations: 2.625 kB / 1.274 GB, free: 215.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002004/1.615, allocations: 0.685 MB / 1.275 GB, free: 215.3 MB / 0.9981 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.001745/1.617, allocations: 0.7522 MB / 1.275 GB, free: 215.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005355/1.622, allocations: 2.554 MB / 1.278 GB, free: 214.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.622, allocations: 2.625 kB / 1.278 GB, free: 214.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001993/1.624, allocations: 1.423 MB / 1.279 GB, free: 213.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002395/1.626, allocations: 0.537 MB / 1.28 GB, free: 213.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006496/1.633, allocations: 3.885 MB / 1.284 GB, free: 211.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/1.634, allocations: 1.533 MB / 1.285 GB, free: 210.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00181/1.636, allocations: 0.4925 MB / 1.285 GB, free: 210.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004256/1.636, allocations: 176.3 kB / 1.286 GB, free: 210.4 MB / 0.9981 GB Notification: Performance of SimCode: time 9.72e-07/1.636, allocations: 0 / 1.286 GB, free: 210.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.04801/1.684, allocations: 32.12 MB / 1.317 GB, free: 183.3 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & ./Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches