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.0009961/0.000996, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.007889/0.007889, allocations: 170.4 kB / 16.27 MB, free: 6.648 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.402/1.402, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.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.435/2.435, allocations: 390.9 MB / 0.6663 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004857/0.0004858, allocations: 16.17 kB / 0.816 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7993/0.7998, allocations: 142.4 MB / 0.955 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1905/0.9904, allocations: 162.7 MB / 1.114 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02175/1.012, allocations: 17.02 MB / 1.131 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001527/1.014, allocations: 31.75 kB / 1.131 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001626/1.015, allocations: 453.2 kB / 1.131 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004851/1.02, allocations: 1.502 MB / 1.133 GB, free: 9 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003359/1.024, allocations: 1.263 MB / 1.134 GB, free: 7.75 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003966/1.028, allocations: 2.903 MB / 1.137 GB, free: 4.836 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00284/1.03, allocations: 1.725 MB / 1.138 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005177/1.036, allocations: 1.099 MB / 1.139 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001573/1.037, allocations: 0.8744 MB / 1.14 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.00024/1.037, allocations: 48 kB / 1.14 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00363/1.041, allocations: 1.517 MB / 1.142 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006141/1.042, allocations: 0.5954 MB / 1.142 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001091/1.043, allocations: 0.976 MB / 1.143 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004606/1.047, allocations: 3.352 MB / 1.147 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/1.047, allocations: 3.938 kB / 1.147 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.394e-06/1.047, allocations: 0 / 1.147 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.88e-05/1.048, allocations: 0 / 1.147 GB, free: 10.61 MB / 0.9044 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.004423/1.052, allocations: 2.307 MB / 1.149 GB, free: 8.238 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/1.052, allocations: 12.03 kB / 1.149 GB, free: 8.227 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00379/1.056, allocations: 0.5668 MB / 1.149 GB, free: 7.656 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002503/1.058, allocations: 1.6 MB / 1.151 GB, free: 6.004 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/1.058, allocations: 131.3 kB / 1.151 GB, free: 5.875 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002294/1.059, allocations: 171.9 kB / 1.151 GB, free: 5.707 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003569/1.062, allocations: 1.968 MB / 1.153 GB, free: 3.688 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.039e-05/1.062, allocations: 0 / 1.153 GB, free: 3.688 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000171/1.063, allocations: 79.94 kB / 1.153 GB, free: 3.609 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.086e-05/1.063, allocations: 40 kB / 1.153 GB, free: 3.57 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003774/1.066, allocations: 2.136 MB / 1.155 GB, free: 1.43 MB / 0.9044 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.009534/1.076, allocations: 5.886 MB / 1.161 GB, free: 11.29 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003422/1.079, allocations: 2.14 MB / 1.163 GB, free: 9.07 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001349/1.081, allocations: 0.7803 MB / 1.164 GB, free: 8.293 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005882/1.081, allocations: 437.6 kB / 1.164 GB, free: 7.789 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001832/1.083, allocations: 1.021 MB / 1.165 GB, free: 6.75 MB / 0.92 GB Notification: Performance of pre-optimization done (n=146): time 3.066e-06/1.083, allocations: 0 / 1.165 GB, free: 6.75 MB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.0071/1.09, allocations: 3.028 MB / 1.168 GB, free: 3.609 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/1.09, allocations: 193.2 kB / 1.168 GB, free: 3.375 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002673/1.093, allocations: 1.833 MB / 1.17 GB, free: 1.531 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002259/1.093, allocations: 53.7 kB / 1.17 GB, free: 1.473 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007657/1.094, allocations: 0.8509 MB / 1.171 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004883/1.095, allocations: 488.8 kB / 1.172 GB, free: 128 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/1.095, allocations: 105.7 kB / 1.172 GB, free: 16 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001569/1.095, allocations: 357.9 kB / 1.172 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001236/1.096, allocations: 0.6116 MB / 1.173 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/1.098, allocations: 0.8286 MB / 1.173 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002494/1.1, allocations: 1.372 MB / 1.175 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/1.1, allocations: 0 / 1.175 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004228/1.104, allocations: 1.854 MB / 1.177 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/1.104, allocations: 7.938 kB / 1.177 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/1.104, allocations: 4 kB / 1.177 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001189/1.106, allocations: 228.1 kB / 1.177 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001725/1.107, allocations: 343.5 kB / 1.177 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007329/1.115, allocations: 6.815 MB / 1.184 GB, free: 2.832 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00238/1.117, allocations: 198.5 kB / 1.184 GB, free: 2.641 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/1.117, allocations: 59.95 kB / 1.184 GB, free: 2.582 MB / 0.9356 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.001308/1.119, allocations: 491.1 kB / 1.185 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003429/1.119, allocations: 185.7 kB / 1.185 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004688/1.124, allocations: 2.16 MB / 1.187 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/1.124, allocations: 16 kB / 1.187 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.124, allocations: 0 / 1.187 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.607e-05/1.124, allocations: 7.969 kB / 1.187 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006975/1.131, allocations: 4.04 MB / 1.191 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/1.131, allocations: 0 / 1.191 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001516/1.132, allocations: 327.6 kB / 1.191 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009817/1.133, allocations: 212.1 kB / 1.191 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.94e-05/1.133, allocations: 47.91 kB / 1.191 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005491/1.139, allocations: 6.85 MB / 1.198 GB, free: 3.469 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.139, allocations: 0 / 1.198 GB, free: 3.469 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00423/1.143, allocations: 2.033 MB / 1.2 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008873/1.144, allocations: 494.1 kB / 1.2 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000222/1.144, allocations: 39.91 kB / 1.201 GB, free: 0.8594 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001361/1.146, allocations: 149.7 kB / 1.201 GB, free: 0.7148 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000244/1.146, allocations: 109.2 kB / 1.201 GB, free: 0.6055 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/1.146, allocations: 71.94 kB / 1.201 GB, free: 0.5352 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001671/1.148, allocations: 1.306 MB / 1.202 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.41e-07/1.148, allocations: 0 / 1.202 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00168/1.149, allocations: 0.6664 MB / 1.203 GB, free: 14.56 MB / 0.9669 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.001771/1.151, allocations: 0.7509 MB / 1.204 GB, free: 14 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003575/1.155, allocations: 2.125 MB / 1.206 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.155, allocations: 4.547 kB / 1.206 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002083/1.157, allocations: 1.434 MB / 1.207 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002511/1.159, allocations: 497.2 kB / 1.207 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008031/1.167, allocations: 4.914 MB / 1.212 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001134/1.169, allocations: 1.545 MB / 1.214 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002015/1.171, allocations: 0.4928 MB / 1.214 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004808/1.171, allocations: 171.4 kB / 1.214 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of SimCode: time 8.62e-07/1.171, allocations: 0 / 1.214 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of Templates: time 0.05154/1.223, allocations: 29.78 MB / 1.243 GB, free: 5.168 MB / 0.9981 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/jenkins/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