Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_10_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_10_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.007497/0.007496, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001838/0.001838, allocations: 190.8 kB / 16.79 MB, free: 5.809 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.395/1.395, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.578/2.578, allocations: 437 MB / 0.7106 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 59.91 kB / 0.8692 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6587/0.6603, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1919/0.8522, allocations: 152.2 MB / 1.166 GB, free: 9.984 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.022/0.8743, allocations: 10.59 MB / 1.176 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001667/0.876, allocations: 19.88 kB / 1.176 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00163/0.8777, allocations: 234.4 kB / 1.176 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00456/0.8823, allocations: 0.832 MB / 1.177 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004074/0.8864, allocations: 0.9423 MB / 1.178 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003136/0.8896, allocations: 1.705 MB / 1.18 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002587/0.8922, allocations: 1.059 MB / 1.181 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003436/0.8956, allocations: 0.6195 MB / 1.182 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001349/0.897, allocations: 0.5967 MB / 1.182 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0004673/0.8975, allocations: 67.94 kB / 1.182 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003188/0.9007, allocations: 0.9633 MB / 1.183 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0006381/0.9013, allocations: 306.9 kB / 1.183 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001431/0.9028, allocations: 0.6099 MB / 1.184 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003304/0.9061, allocations: 1.614 MB / 1.186 GB, free: 5.773 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.9061, allocations: 0 / 1.186 GB, free: 5.773 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.823e-06/0.9061, allocations: 0 / 1.186 GB, free: 5.773 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.575e-05/0.9062, allocations: 4 kB / 1.186 GB, free: 5.77 MB / 0.9356 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.005686/0.9119, allocations: 1.707 MB / 1.187 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.995e-05/0.912, allocations: 11.97 kB / 1.187 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002473/0.9145, allocations: 270.1 kB / 1.188 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001976/0.9165, allocations: 0.8823 MB / 1.188 GB, free: 2.805 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.87e-05/0.9166, allocations: 74 kB / 1.188 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/0.9168, allocations: 96 kB / 1.189 GB, free: 2.641 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002684/0.9195, allocations: 1.102 MB / 1.19 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/0.9195, allocations: 3.938 kB / 1.19 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/0.9197, allocations: 44 kB / 1.19 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.86e-05/0.9197, allocations: 24 kB / 1.19 GB, free: 1.426 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003097/0.9228, allocations: 1.319 MB / 1.191 GB, free: 112 kB / 0.9356 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.007181/0.93, allocations: 3.434 MB / 1.194 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002698/0.9327, allocations: 1.103 MB / 1.195 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/0.9338, allocations: 426.6 kB / 1.196 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000328/0.9341, allocations: 138 kB / 1.196 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001508/0.9357, allocations: 0.6177 MB / 1.197 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=95): time 3.747e-06/0.9357, allocations: 4 kB / 1.197 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of matching and sorting (n=95): time 0.00567/0.9414, allocations: 1.631 MB / 1.198 GB, free: 8.496 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/0.9415, allocations: 188.9 kB / 1.198 GB, free: 8.27 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/0.943, allocations: 0.8057 MB / 1.199 GB, free: 7.453 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001241/0.9431, allocations: 45.7 kB / 1.199 GB, free: 7.402 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005107/0.9437, allocations: 464.4 kB / 1.2 GB, free: 6.941 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003533/0.944, allocations: 311.5 kB / 1.2 GB, free: 6.633 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004101/0.9444, allocations: 190.4 kB / 1.2 GB, free: 6.441 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.9446, allocations: 342 kB / 1.2 GB, free: 6.102 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/0.9456, allocations: 349.8 kB / 1.201 GB, free: 5.758 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/0.9468, allocations: 481.6 kB / 1.201 GB, free: 5.262 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002121/0.949, allocations: 0.7843 MB / 1.202 GB, free: 4.469 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.949, allocations: 4 kB / 1.202 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.003533/0.9525, allocations: 1.08 MB / 1.203 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.9526, allocations: 4 kB / 1.203 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.9526, allocations: 4.062 kB / 1.203 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009825/0.9536, allocations: 121.6 kB / 1.203 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/0.9549, allocations: 215.6 kB / 1.203 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003923/0.9588, allocations: 2.852 MB / 1.206 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/0.9603, allocations: 124.5 kB / 1.206 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001627/0.9605, allocations: 39.97 kB / 1.206 GB, free: 15.74 MB / 0.9669 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.0008137/0.9613, allocations: 315.3 kB / 1.207 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003123/0.9616, allocations: 106.8 kB / 1.207 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004224/0.9658, allocations: 1.318 MB / 1.208 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.9659, allocations: 8 kB / 1.208 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.9659, allocations: 4 kB / 1.208 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/0.9659, allocations: 3.984 kB / 1.208 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006014/0.9719, allocations: 2.422 MB / 1.21 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.974e-06/0.972, allocations: 0 / 1.21 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/0.9732, allocations: 191.7 kB / 1.211 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000848/0.974, allocations: 117.6 kB / 1.211 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001113/0.9741, allocations: 27.98 kB / 1.211 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00376/0.9779, allocations: 2.875 MB / 1.214 GB, free: 8 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.9779, allocations: 0 / 1.214 GB, free: 8 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004016/0.982, allocations: 1.239 MB / 1.215 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008623/0.9828, allocations: 311.5 kB / 1.215 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003442/0.9832, allocations: 23.98 kB / 1.215 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001296/0.9845, allocations: 91.81 kB / 1.215 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002142/0.9847, allocations: 84.81 kB / 1.215 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/0.9849, allocations: 43.97 kB / 1.215 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0009625/0.9858, allocations: 0.5693 MB / 1.216 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of sort global known variables: time 5.21e-07/0.9858, allocations: 0 / 1.216 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001614/0.9875, allocations: 451.2 kB / 1.216 GB, free: 5.172 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 (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.002178/0.9897, allocations: 0.7207 MB / 1.217 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002574/0.9922, allocations: 1.139 MB / 1.218 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.9923, allocations: 3.938 kB / 1.218 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001442/0.9937, allocations: 0.7409 MB / 1.219 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001893/0.9956, allocations: 324.6 kB / 1.219 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004604/1, allocations: 2.534 MB / 1.222 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008926/1.001, allocations: 1.099 MB / 1.223 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004702/1.002, allocations: 131.4 kB / 1.223 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of SimCode: time 9.52e-07/1.002, allocations: 0 / 1.223 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of Templates: time 0.04085/1.042, allocations: 27.37 MB / 1.249 GB, free: 3.262 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches