Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.00191/0.00191, allocations: 192.4 kB / 16.25 MB, free: 6.16 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.516/1.516, allocations: 222.9 MB / 239.9 MB, free: 4.367 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.359/2.359, allocations: 390.2 MB / 0.6644 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 67.88 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.669/0.6705, allocations: 140.4 MB / 0.9491 GB, free: 9.344 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1784/0.849, allocations: 151.9 MB / 1.097 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01409/0.8631, allocations: 10.36 MB / 1.108 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00116/0.8643, allocations: 23.88 kB / 1.108 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0009723/0.8653, allocations: 218.5 kB / 1.108 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002677/0.868, allocations: 0.8374 MB / 1.109 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002644/0.8707, allocations: 0.9692 MB / 1.109 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001917/0.8726, allocations: 1.636 MB / 1.111 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001513/0.8741, allocations: 1.181 MB / 1.112 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001978/0.8761, allocations: 0.71 MB / 1.113 GB, free: 9.816 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007006/0.8768, allocations: 0.6146 MB / 1.114 GB, free: 9.199 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001769/0.877, allocations: 132 kB / 1.114 GB, free: 9.07 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001743/0.8788, allocations: 1.01 MB / 1.115 GB, free: 8.059 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003269/0.8791, allocations: 386.8 kB / 1.115 GB, free: 7.68 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0005838/0.8797, allocations: 0.6607 MB / 1.116 GB, free: 7.016 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002607/0.8823, allocations: 2.158 MB / 1.118 GB, free: 4.852 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.994e-06/0.8824, allocations: 0 / 1.118 GB, free: 4.852 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8824, allocations: 3.938 kB / 1.118 GB, free: 4.848 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.177e-05/0.8824, allocations: 0 / 1.118 GB, free: 4.848 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003008/0.8854, allocations: 1.683 MB / 1.119 GB, free: 3.105 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.8854, allocations: 12.03 kB / 1.119 GB, free: 3.094 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001721/0.8872, allocations: 274.1 kB / 1.12 GB, free: 2.824 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.8885, allocations: 0.8784 MB / 1.121 GB, free: 1.902 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.226e-05/0.8885, allocations: 74 kB / 1.121 GB, free: 1.832 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.8887, allocations: 95.94 kB / 1.121 GB, free: 1.738 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002022/0.8907, allocations: 1.106 MB / 1.122 GB, free: 0.5898 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.8907, allocations: 3.984 kB / 1.122 GB, free: 0.5859 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.8908, allocations: 44 kB / 1.122 GB, free: 0.543 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.8909, allocations: 20 kB / 1.122 GB, free: 0.5234 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002262/0.8931, allocations: 1.319 MB / 1.123 GB, free: 15.2 MB / 0.8887 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.005188/0.8983, allocations: 3.225 MB / 1.126 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001934/0.9003, allocations: 1.106 MB / 1.127 GB, free: 10.74 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008525/0.9012, allocations: 420.6 kB / 1.128 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002467/0.9014, allocations: 134 kB / 1.128 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00114/0.9026, allocations: 0.6254 MB / 1.129 GB, free: 9.531 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=95): time 2.705e-06/0.9026, allocations: 0 / 1.129 GB, free: 9.531 MB / 0.8887 GB Notification: Performance of matching and sorting (n=95): time 0.004415/0.907, allocations: 1.627 MB / 1.13 GB, free: 7.855 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.9071, allocations: 192.9 kB / 1.13 GB, free: 7.621 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.9082, allocations: 0.8095 MB / 1.131 GB, free: 6.805 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 9.608e-05/0.9083, allocations: 45.7 kB / 1.131 GB, free: 6.754 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003693/0.9087, allocations: 464.4 kB / 1.132 GB, free: 6.293 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002513/0.9089, allocations: 311.5 kB / 1.132 GB, free: 5.984 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002977/0.9092, allocations: 182.5 kB / 1.132 GB, free: 5.801 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.9094, allocations: 338 kB / 1.132 GB, free: 5.465 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007754/0.9102, allocations: 361.8 kB / 1.133 GB, free: 5.113 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008766/0.9111, allocations: 477.6 kB / 1.133 GB, free: 4.621 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/0.9126, allocations: 0.7882 MB / 1.134 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.9126, allocations: 3.938 kB / 1.134 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002592/0.9152, allocations: 1.08 MB / 1.135 GB, free: 2.727 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/0.9152, allocations: 13.94 kB / 1.135 GB, free: 2.715 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.9152, allocations: 3.984 kB / 1.135 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007758/0.916, allocations: 113.6 kB / 1.135 GB, free: 2.594 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009364/0.917, allocations: 207.7 kB / 1.135 GB, free: 2.391 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003526/0.9205, allocations: 3.071 MB / 1.138 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/0.9216, allocations: 115.2 kB / 1.138 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.9217, allocations: 43.97 kB / 1.138 GB, free: 14.88 MB / 0.9044 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 (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005655/0.9223, allocations: 307.5 kB / 1.139 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000222/0.9225, allocations: 106.8 kB / 1.139 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003066/0.9256, allocations: 1.31 MB / 1.14 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/0.9256, allocations: 12 kB / 1.14 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.9256, allocations: 0 / 1.14 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.142e-05/0.9257, allocations: 7.984 kB / 1.14 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00476/0.9304, allocations: 2.422 MB / 1.143 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.9305, allocations: 0 / 1.143 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008757/0.9314, allocations: 191.8 kB / 1.143 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006094/0.932, allocations: 101.6 kB / 1.143 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-05/0.9321, allocations: 39.91 kB / 1.143 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003784/0.9359, allocations: 3.084 MB / 1.146 GB, free: 6.926 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.9359, allocations: 0 / 1.146 GB, free: 6.926 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003414/0.9393, allocations: 1.239 MB / 1.147 GB, free: 5.664 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006443/0.94, allocations: 311.5 kB / 1.147 GB, free: 5.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001719/0.9402, allocations: 28 kB / 1.147 GB, free: 5.312 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008654/0.9411, allocations: 80.59 kB / 1.147 GB, free: 5.234 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002079/0.9413, allocations: 88.81 kB / 1.148 GB, free: 5.148 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/0.9414, allocations: 47.91 kB / 1.148 GB, free: 5.102 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007999/0.9422, allocations: 0.5693 MB / 1.148 GB, free: 4.535 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9422, allocations: 0 / 1.148 GB, free: 4.535 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001281/0.9435, allocations: 439.2 kB / 1.149 GB, free: 4.105 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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.001746/0.9452, allocations: 0.7168 MB / 1.149 GB, free: 3.57 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003281/0.9485, allocations: 1.392 MB / 1.151 GB, free: 2.152 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.9485, allocations: 0 / 1.151 GB, free: 2.152 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001286/0.9498, allocations: 0.7449 MB / 1.151 GB, free: 1.383 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/0.9515, allocations: 343.2 kB / 1.152 GB, free: 1.07 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00478/0.9563, allocations: 2.632 MB / 1.154 GB, free: 14.42 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007295/0.9571, allocations: 1.108 MB / 1.155 GB, free: 13.29 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001111/0.9582, allocations: 307.6 kB / 1.156 GB, free: 12.98 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003217/0.9585, allocations: 119.4 kB / 1.156 GB, free: 12.86 MB / 0.92 GB Notification: Performance of SimCode: time 4.91e-07/0.9585, allocations: 4 kB / 1.156 GB, free: 12.86 MB / 0.92 GB Notification: Performance of Templates: time 0.03422/0.9928, allocations: 19.43 MB / 1.175 GB, free: 9.629 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches