Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001679/0.001679, 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.001911/0.001911, 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.428/1.428, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.272/2.272, allocations: 390.3 MB / 0.6653 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001304, allocations: 67.27 kB / 0.8132 GB, free: 32.9 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.292, allocations: 140.4 MB / 0.9503 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.8038/1.096, allocations: 167.2 MB / 1.114 GB, free: 5.637 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02381/1.12, allocations: 17.2 MB / 1.13 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003463/1.123, allocations: 31.69 kB / 1.13 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002043/1.125, allocations: 0.5295 MB / 1.131 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.006592/1.132, allocations: 1.686 MB / 1.133 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004281/1.136, allocations: 1.413 MB / 1.134 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004309/1.141, allocations: 2.669 MB / 1.137 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002843/1.143, allocations: 1.999 MB / 1.139 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00409/1.148, allocations: 1.395 MB / 1.14 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001715/1.149, allocations: 1.092 MB / 1.141 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004157/1.15, allocations: 226 kB / 1.141 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003841/1.154, allocations: 1.52 MB / 1.143 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000708/1.154, allocations: 0.8031 MB / 1.143 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00126/1.156, allocations: 1.187 MB / 1.145 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.005583/1.161, allocations: 3.472 MB / 1.148 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/1.161, allocations: 1.188 kB / 1.148 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.154e-06/1.161, allocations: 0 / 1.148 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.661e-05/1.161, allocations: 0 / 1.148 GB, free: 2.164 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.005427/1.167, allocations: 2.759 MB / 1.151 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/1.167, allocations: 8.969 kB / 1.151 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003656/1.17, allocations: 0.5649 MB / 1.151 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00253/1.173, allocations: 1.6 MB / 1.153 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/1.173, allocations: 129.8 kB / 1.153 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002297/1.173, allocations: 169.7 kB / 1.153 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003528/1.177, allocations: 1.958 MB / 1.155 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/1.177, allocations: 5.109 kB / 1.155 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001676/1.177, allocations: 73.59 kB / 1.155 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.444e-05/1.177, allocations: 41.06 kB / 1.155 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003693/1.181, allocations: 2.124 MB / 1.157 GB, free: 13.96 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.009879/1.191, allocations: 5.866 MB / 1.163 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00347/1.194, allocations: 2.135 MB / 1.165 GB, free: 9.711 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00136/1.196, allocations: 0.7677 MB / 1.166 GB, free: 9.445 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005868/1.196, allocations: 427.1 kB / 1.166 GB, free: 9.059 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001891/1.198, allocations: 1.025 MB / 1.167 GB, free: 8.703 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=146): time 3.797e-06/1.198, allocations: 0 / 1.167 GB, free: 8.703 MB / 0.8731 GB Notification: Performance of matching and sorting (n=146): time 0.007162/1.205, allocations: 2.984 MB / 1.17 GB, free: 7.055 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/1.205, allocations: 202.2 kB / 1.17 GB, free: 6.828 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002576/1.208, allocations: 1.822 MB / 1.172 GB, free: 5.93 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002256/1.208, allocations: 60.77 kB / 1.172 GB, free: 5.875 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007705/1.209, allocations: 0.8454 MB / 1.173 GB, free: 5.133 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004471/1.209, allocations: 488 kB / 1.173 GB, free: 4.719 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004364/1.21, allocations: 258.7 kB / 1.174 GB, free: 4.57 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001461/1.21, allocations: 356.7 kB / 1.174 GB, free: 4.227 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/1.211, allocations: 0.6055 MB / 1.175 GB, free: 3.949 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00146/1.213, allocations: 0.8156 MB / 1.175 GB, free: 3.469 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002443/1.215, allocations: 1.357 MB / 1.177 GB, free: 2.816 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/1.215, allocations: 4 kB / 1.177 GB, free: 2.812 MB / 0.8731 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004082/1.219, allocations: 1.831 MB / 1.178 GB, free: 1.922 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/1.219, allocations: 16.23 kB / 1.178 GB, free: 1.914 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/1.219, allocations: 0 / 1.178 GB, free: 1.914 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/1.22, allocations: 211.6 kB / 1.179 GB, free: 1.793 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/1.222, allocations: 340.4 kB / 1.179 GB, free: 1.707 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006324/1.228, allocations: 7.318 MB / 1.186 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/1.23, allocations: 178.8 kB / 1.186 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002564/1.231, allocations: 56.83 kB / 1.186 GB, free: 10.1 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.001399/1.232, allocations: 488.7 kB / 1.187 GB, free: 9.777 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000803/1.233, allocations: 188.6 kB / 1.187 GB, free: 9.68 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00514/1.238, allocations: 2.139 MB / 1.189 GB, free: 8.523 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/1.238, allocations: 19.67 kB / 1.189 GB, free: 8.52 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/1.238, allocations: 3.406 kB / 1.189 GB, free: 8.52 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.95e-05/1.238, allocations: 3.984 kB / 1.189 GB, free: 8.516 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008387/1.247, allocations: 4.03 MB / 1.193 GB, free: 6.102 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/1.247, allocations: 0 / 1.193 GB, free: 6.102 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001475/1.248, allocations: 325.3 kB / 1.193 GB, free: 6.02 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009212/1.249, allocations: 208.6 kB / 1.194 GB, free: 5.895 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001552/1.249, allocations: 40.38 kB / 1.194 GB, free: 5.867 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006351/1.256, allocations: 7.355 MB / 1.201 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/1.256, allocations: 3.938 kB / 1.201 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005275/1.261, allocations: 2.009 MB / 1.203 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001331/1.262, allocations: 471.6 kB / 1.203 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006087/1.263, allocations: 31.97 kB / 1.203 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001721/1.265, allocations: 108.3 kB / 1.203 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003154/1.265, allocations: 122 kB / 1.203 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002061/1.265, allocations: 68.55 kB / 1.204 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002281/1.267, allocations: 1.306 MB / 1.205 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/1.267, allocations: 0 / 1.205 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002556/1.27, allocations: 0.6689 MB / 1.205 GB, free: 11.95 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.002221/1.272, allocations: 0.7561 MB / 1.206 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.005912/1.278, allocations: 2.543 MB / 1.209 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.94e-05/1.278, allocations: 5.766 kB / 1.209 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002386/1.281, allocations: 1.423 MB / 1.21 GB, free: 9.344 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003286/1.284, allocations: 0.5196 MB / 1.211 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009082/1.293, allocations: 3.96 MB / 1.214 GB, free: 5.59 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001582/1.295, allocations: 1.505 MB / 1.216 GB, free: 4.059 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008929/1.296, allocations: 187.3 kB / 1.216 GB, free: 3.875 MB / 0.9044 GB Notification: Performance of SimCode: time 7.01e-07/1.296, allocations: 0 / 1.216 GB, free: 3.875 MB / 0.9044 GB Notification: Performance of Templates: time 0.07944/1.375, allocations: 67.21 MB / 1.282 GB, free: 0.7148 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches