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.001347/0.001347, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001231/0.001231, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.41/1.41, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.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.59/2.59, allocations: 437.1 MB / 0.711 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 69.67 kB / 0.8699 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3207, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.7324/1.053, allocations: 168.5 MB / 1.182 GB, free: 7.082 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02471/1.078, allocations: 17.33 MB / 1.199 GB, free: 9.082 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002269/1.08, allocations: 31.41 kB / 1.199 GB, free: 9.07 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002032/1.082, allocations: 0.571 MB / 1.2 GB, free: 8.582 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006326/1.089, allocations: 1.785 MB / 1.202 GB, free: 7.242 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004148/1.093, allocations: 1.427 MB / 1.203 GB, free: 6.172 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004352/1.097, allocations: 2.874 MB / 1.206 GB, free: 4.473 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002737/1.1, allocations: 1.943 MB / 1.208 GB, free: 3.191 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004407/1.104, allocations: 1.429 MB / 1.209 GB, free: 2.406 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001839/1.106, allocations: 1.119 MB / 1.21 GB, free: 1.66 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004074/1.107, allocations: 221.6 kB / 1.211 GB, free: 1.66 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00343/1.11, allocations: 1.519 MB / 1.212 GB, free: 0.9492 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0008056/1.111, allocations: 0.7914 MB / 1.213 GB, free: 396 kB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001612/1.113, allocations: 1.23 MB / 1.214 GB, free: 15.52 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005519/1.118, allocations: 3.529 MB / 1.217 GB, free: 13.1 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/1.118, allocations: 6.469 kB / 1.217 GB, free: 13.09 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.024e-06/1.118, allocations: 4 kB / 1.217 GB, free: 13.09 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.4e-05/1.118, allocations: 3.984 kB / 1.217 GB, free: 13.09 MB / 0.92 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.005271/1.124, allocations: 2.767 MB / 1.22 GB, free: 10.43 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/1.124, allocations: 8.922 kB / 1.22 GB, free: 10.43 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003644/1.127, allocations: 0.5551 MB / 1.221 GB, free: 9.867 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002636/1.13, allocations: 1.599 MB / 1.222 GB, free: 8.215 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/1.13, allocations: 131.3 kB / 1.222 GB, free: 8.086 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002309/1.13, allocations: 172 kB / 1.223 GB, free: 7.918 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003517/1.134, allocations: 1.965 MB / 1.224 GB, free: 5.902 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.224e-05/1.134, allocations: 0 / 1.224 GB, free: 5.902 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001681/1.134, allocations: 75.94 kB / 1.225 GB, free: 5.828 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.594e-05/1.134, allocations: 40 kB / 1.225 GB, free: 5.789 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003828/1.138, allocations: 2.109 MB / 1.227 GB, free: 3.676 MB / 0.92 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.01088/1.149, allocations: 6.266 MB / 1.233 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003879/1.153, allocations: 2.129 MB / 1.235 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001454/1.154, allocations: 0.773 MB / 1.236 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006502/1.155, allocations: 433.6 kB / 1.236 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001978/1.157, allocations: 1.021 MB / 1.237 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=146): time 4.438e-06/1.157, allocations: 3.938 kB / 1.237 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of matching and sorting (n=146): time 0.00746/1.164, allocations: 2.989 MB / 1.24 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000153/1.165, allocations: 205.2 kB / 1.24 GB, free: 5.191 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002915/1.167, allocations: 1.801 MB / 1.242 GB, free: 3.379 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002913/1.168, allocations: 61.7 kB / 1.242 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009058/1.169, allocations: 0.8389 MB / 1.243 GB, free: 2.461 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006318/1.169, allocations: 481 kB / 1.243 GB, free: 1.984 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000534/1.17, allocations: 258.8 kB / 1.243 GB, free: 1.723 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001712/1.17, allocations: 357.9 kB / 1.244 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/1.171, allocations: 0.6077 MB / 1.244 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001541/1.173, allocations: 0.813 MB / 1.245 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002713/1.176, allocations: 1.353 MB / 1.247 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/1.176, allocations: 0 / 1.247 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004491/1.18, allocations: 1.834 MB / 1.248 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/1.18, allocations: 10.34 kB / 1.248 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/1.18, allocations: 4 kB / 1.248 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/1.181, allocations: 212 kB / 1.249 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/1.183, allocations: 339.5 kB / 1.249 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007221/1.19, allocations: 7.328 MB / 1.256 GB, free: 4.074 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001945/1.192, allocations: 178.7 kB / 1.256 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002988/1.193, allocations: 55.95 kB / 1.256 GB, free: 3.844 MB / 0.9512 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.001263/1.194, allocations: 487.4 kB / 1.257 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006158/1.195, allocations: 177.8 kB / 1.257 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005129/1.2, allocations: 2.152 MB / 1.259 GB, free: 1.004 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/1.2, allocations: 12 kB / 1.259 GB, free: 0.9922 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/1.2, allocations: 4 kB / 1.259 GB, free: 0.9883 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-05/1.2, allocations: 7.969 kB / 1.259 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008127/1.208, allocations: 4.008 MB / 1.263 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/1.208, allocations: 0 / 1.263 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001524/1.209, allocations: 323.5 kB / 1.263 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009069/1.21, allocations: 204.1 kB / 1.263 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001253/1.211, allocations: 39.97 kB / 1.263 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006712/1.217, allocations: 7.356 MB / 1.271 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.217, allocations: 3.938 kB / 1.271 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004928/1.222, allocations: 2.01 MB / 1.273 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/1.223, allocations: 470.3 kB / 1.273 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004362/1.224, allocations: 28.19 kB / 1.273 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00154/1.225, allocations: 110.5 kB / 1.273 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003065/1.226, allocations: 121.1 kB / 1.273 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001864/1.226, allocations: 67.95 kB / 1.273 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002038/1.228, allocations: 1.293 MB / 1.275 GB, free: 128 kB / 0.9669 GB Notification: Performance of sort global known variables: time 3.31e-07/1.228, allocations: 0 / 1.275 GB, free: 128 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002293/1.23, allocations: 0.6859 MB / 1.275 GB, free: 15.44 MB / 0.9825 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.002662/1.233, allocations: 0.7643 MB / 1.276 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.006142/1.239, allocations: 2.535 MB / 1.279 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/1.239, allocations: 4.562 kB / 1.279 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002458/1.242, allocations: 1.426 MB / 1.28 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003219/1.245, allocations: 0.5464 MB / 1.28 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008183/1.253, allocations: 3.824 MB / 1.284 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001528/1.255, allocations: 1.486 MB / 1.286 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008564/1.255, allocations: 199.3 kB / 1.286 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of SimCode: time 6.81e-07/1.255, allocations: 0 / 1.286 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of Templates: time 0.09009/1.346, allocations: 67.3 MB / 1.352 GB, free: 1.422 MB / 1.045 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=400 -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/jenkins1/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