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.001337/0.001337, allocations: 106.3 kB / 16.41 MB, free: 6.41 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.001327/0.001327, allocations: 189.7 kB / 17.34 MB, free: 5.699 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.561/2.561, allocations: 461.9 MB / 0.7354 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 63.91 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8707/0.8721, allocations: 157.4 MB / 1.208 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1952/1.067, allocations: 168.4 MB / 1.373 GB, free: 4.469 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02296/1.09, allocations: 17.35 MB / 1.39 GB, free: 3.066 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002081/1.093, allocations: 31.81 kB / 1.39 GB, free: 3.035 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001967/1.095, allocations: 0.5739 MB / 1.39 GB, free: 2.457 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.005785/1.1, allocations: 1.784 MB / 1.392 GB, free: 0.668 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003956/1.104, allocations: 1.444 MB / 1.394 GB, free: 15.24 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004275/1.109, allocations: 2.891 MB / 1.396 GB, free: 12.34 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002707/1.111, allocations: 1.948 MB / 1.398 GB, free: 10.34 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004245/1.116, allocations: 1.449 MB / 1.4 GB, free: 8.934 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0017/1.117, allocations: 1.12 MB / 1.401 GB, free: 7.809 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003687/1.118, allocations: 228 kB / 1.401 GB, free: 7.586 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003363/1.121, allocations: 1.556 MB / 1.403 GB, free: 6.027 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0006882/1.122, allocations: 0.7907 MB / 1.403 GB, free: 5.234 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001276/1.123, allocations: 1.228 MB / 1.405 GB, free: 4 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005044/1.128, allocations: 3.602 MB / 1.408 GB, free: 396 kB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/1.128, allocations: 0 / 1.408 GB, free: 396 kB / 1.123 GB Notification: Performance of FrontEnd: time 1.643e-06/1.128, allocations: 0 / 1.408 GB, free: 396 kB / 1.123 GB Notification: Performance of Transformations before backend: time 4.836e-05/1.128, allocations: 0 / 1.408 GB, free: 396 kB / 1.123 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.005039/1.133, allocations: 2.774 MB / 1.411 GB, free: 13.55 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/1.133, allocations: 12.03 kB / 1.411 GB, free: 13.54 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003706/1.137, allocations: 0.559 MB / 1.411 GB, free: 12.98 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002465/1.14, allocations: 1.638 MB / 1.413 GB, free: 11.29 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/1.14, allocations: 131.4 kB / 1.413 GB, free: 11.16 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002263/1.14, allocations: 168 kB / 1.413 GB, free: 10.99 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003392/1.143, allocations: 1.956 MB / 1.415 GB, free: 8.984 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.651e-05/1.143, allocations: 0 / 1.415 GB, free: 8.984 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001745/1.144, allocations: 76 kB / 1.415 GB, free: 8.91 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-05/1.144, allocations: 40 kB / 1.415 GB, free: 8.871 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003529/1.147, allocations: 2.124 MB / 1.417 GB, free: 6.742 MB / 1.139 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.009532/1.157, allocations: 6.169 MB / 1.423 GB, free: 232 kB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003461/1.16, allocations: 2.125 MB / 1.425 GB, free: 14.02 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001329/1.162, allocations: 0.7769 MB / 1.426 GB, free: 13.25 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000571/1.162, allocations: 437.5 kB / 1.427 GB, free: 12.75 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001808/1.164, allocations: 1.017 MB / 1.428 GB, free: 11.71 MB / 1.154 GB Notification: Performance of pre-optimization done (n=146): time 3.357e-06/1.164, allocations: 0 / 1.428 GB, free: 11.71 MB / 1.154 GB Notification: Performance of matching and sorting (n=146): time 0.006983/1.171, allocations: 2.997 MB / 1.43 GB, free: 8.602 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/1.171, allocations: 197.2 kB / 1.431 GB, free: 8.363 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002441/1.174, allocations: 1.805 MB / 1.432 GB, free: 6.547 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002295/1.174, allocations: 65.64 kB / 1.433 GB, free: 6.477 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007171/1.174, allocations: 0.8312 MB / 1.433 GB, free: 5.633 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004657/1.175, allocations: 485 kB / 1.434 GB, free: 5.152 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000413/1.175, allocations: 262.6 kB / 1.434 GB, free: 4.891 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001595/1.176, allocations: 361.9 kB / 1.434 GB, free: 4.531 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/1.177, allocations: 0.6077 MB / 1.435 GB, free: 3.922 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/1.178, allocations: 0.8053 MB / 1.436 GB, free: 3.066 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002428/1.181, allocations: 1.357 MB / 1.437 GB, free: 1.695 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/1.181, allocations: 4 kB / 1.437 GB, free: 1.691 MB / 1.154 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004177/1.185, allocations: 1.834 MB / 1.439 GB, free: 15.83 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/1.185, allocations: 7.938 kB / 1.439 GB, free: 15.82 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.185, allocations: 0 / 1.439 GB, free: 15.82 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/1.186, allocations: 216.1 kB / 1.439 GB, free: 15.59 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001585/1.187, allocations: 331.6 kB / 1.439 GB, free: 15.27 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005997/1.193, allocations: 7.323 MB / 1.447 GB, free: 7.242 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/1.195, allocations: 178.6 kB / 1.447 GB, free: 7.066 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/1.195, allocations: 51.95 kB / 1.447 GB, free: 7.016 MB / 1.17 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.001064/1.196, allocations: 487.2 kB / 1.447 GB, free: 6.531 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004064/1.197, allocations: 185.8 kB / 1.447 GB, free: 6.348 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00453/1.201, allocations: 2.144 MB / 1.45 GB, free: 4.176 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/1.201, allocations: 16 kB / 1.45 GB, free: 4.16 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/1.201, allocations: 4 kB / 1.45 GB, free: 4.156 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/1.201, allocations: 7.969 kB / 1.45 GB, free: 4.148 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006901/1.208, allocations: 3.997 MB / 1.453 GB, free: 72 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.948e-06/1.208, allocations: 0 / 1.453 GB, free: 72 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0015/1.21, allocations: 335.5 kB / 1.454 GB, free: 15.74 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008646/1.211, allocations: 196.1 kB / 1.454 GB, free: 15.54 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-05/1.211, allocations: 39.97 kB / 1.454 GB, free: 15.5 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005853/1.217, allocations: 7.359 MB / 1.461 GB, free: 7.422 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/1.217, allocations: 3.938 kB / 1.461 GB, free: 7.418 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004406/1.221, allocations: 2.008 MB / 1.463 GB, free: 5.371 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009144/1.222, allocations: 470.3 kB / 1.464 GB, free: 4.891 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002488/1.222, allocations: 28 kB / 1.464 GB, free: 4.863 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/1.224, allocations: 108.7 kB / 1.464 GB, free: 4.762 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000294/1.224, allocations: 117.1 kB / 1.464 GB, free: 4.648 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001395/1.224, allocations: 75.89 kB / 1.464 GB, free: 4.574 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001679/1.226, allocations: 1.289 MB / 1.465 GB, free: 3.289 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/1.226, allocations: 0 / 1.465 GB, free: 3.289 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001962/1.228, allocations: 0.6937 MB / 1.466 GB, free: 2.594 MB / 1.186 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.00186/1.23, allocations: 0.7501 MB / 1.467 GB, free: 2.027 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.003716/1.233, allocations: 2.106 MB / 1.469 GB, free: 15.86 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/1.233, allocations: 8.5 kB / 1.469 GB, free: 15.85 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.002111/1.236, allocations: 1.422 MB / 1.47 GB, free: 14.36 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002505/1.238, allocations: 0.551 MB / 1.471 GB, free: 13.84 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006747/1.245, allocations: 3.76 MB / 1.474 GB, free: 10.04 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001134/1.246, allocations: 1.49 MB / 1.476 GB, free: 8.516 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007233/1.247, allocations: 199.3 kB / 1.476 GB, free: 8.32 MB / 1.201 GB Notification: Performance of SimCode: time 1.002e-06/1.247, allocations: 0 / 1.476 GB, free: 8.32 MB / 1.201 GB Notification: Performance of Templates: time 0.07707/1.324, allocations: 67.52 MB / 1.542 GB, free: 4.855 MB / 1.264 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/jenkins1/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