Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001386/0.001386, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 194.4 kB / 16.53 MB, free: 6.391 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.387/1.387, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.847/2.847, allocations: 472.6 MB / 0.7451 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001474, allocations: 71.12 kB / 0.912 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3295, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1687/0.4983, allocations: 154.5 MB / 1.219 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01451/0.5128, allocations: 10.54 MB / 1.229 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/0.5139, allocations: 19.88 kB / 1.229 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001092/0.515, allocations: 289.6 kB / 1.23 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003277/0.5183, allocations: 0.9713 MB / 1.231 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002986/0.5213, allocations: 1.076 MB / 1.232 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002173/0.5235, allocations: 1.709 MB / 1.233 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001805/0.5253, allocations: 1.15 MB / 1.234 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001994/0.5273, allocations: 0.7161 MB / 1.235 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001355/0.5287, allocations: 0.6185 MB / 1.236 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000551/0.5293, allocations: 136 kB / 1.236 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002386/0.5317, allocations: 0.9909 MB / 1.237 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005134/0.5322, allocations: 386.8 kB / 1.237 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001021/0.5332, allocations: 0.6685 MB / 1.238 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00372/0.537, allocations: 2.17 MB / 1.24 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.537, allocations: 0 / 1.24 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.325e-06/0.537, allocations: 0 / 1.24 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.79e-05/0.5371, allocations: 0 / 1.24 GB, free: 9.848 MB / 0.9981 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.004089/0.5412, allocations: 1.703 MB / 1.242 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.5412, allocations: 8.031 kB / 1.242 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001838/0.5431, allocations: 270.1 kB / 1.242 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/0.5447, allocations: 0.8861 MB / 1.243 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.697e-05/0.5448, allocations: 70 kB / 1.243 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001934/0.545, allocations: 103.9 kB / 1.243 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002303/0.5473, allocations: 1.106 MB / 1.244 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.5474, allocations: 0 / 1.244 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/0.5475, allocations: 40 kB / 1.244 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.41e-05/0.5475, allocations: 27.94 kB / 1.244 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002484/0.55, allocations: 1.327 MB / 1.245 GB, free: 4.176 MB / 0.9981 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.00622/0.5562, allocations: 3.438 MB / 1.249 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.585/1.141, allocations: 1.089 MB / 1.25 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008916/1.142, allocations: 419.9 kB / 1.25 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002679/1.143, allocations: 140.5 kB / 1.25 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001258/1.144, allocations: 0.6143 MB / 1.251 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=95): time 3.346e-06/1.144, allocations: 0.7188 kB / 1.251 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95): time 0.004668/1.148, allocations: 1.636 MB / 1.253 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.942e-05/1.149, allocations: 196.6 kB / 1.253 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001545/1.15, allocations: 0.8036 MB / 1.254 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001265/1.15, allocations: 43.45 kB / 1.254 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004735/1.151, allocations: 465 kB / 1.254 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002411/1.151, allocations: 316.1 kB / 1.254 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003123/1.151, allocations: 186.8 kB / 1.255 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.123e-05/1.151, allocations: 339.5 kB / 1.255 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007271/1.152, allocations: 355.8 kB / 1.255 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009293/1.153, allocations: 479.1 kB / 1.256 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001654/1.155, allocations: 0.7866 MB / 1.256 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/1.155, allocations: 5.312 kB / 1.256 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002683/1.157, allocations: 1.086 MB / 1.257 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/1.157, allocations: 5.062 kB / 1.257 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/1.158, allocations: 2.281 kB / 1.257 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007459/1.158, allocations: 119.5 kB / 1.258 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008733/1.159, allocations: 208 kB / 1.258 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002741/1.162, allocations: 3.073 MB / 1.261 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/1.163, allocations: 118.1 kB / 1.261 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.253e-05/1.163, allocations: 38.95 kB / 1.261 GB, free: 179.3 MB / 0.9981 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.000674/1.164, allocations: 308.7 kB / 1.261 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002424/1.164, allocations: 99.38 kB / 1.261 GB, free: 179 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002758/1.167, allocations: 1.326 MB / 1.263 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/1.167, allocations: 10.59 kB / 1.263 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/1.167, allocations: 0 / 1.263 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/1.167, allocations: 4.688 kB / 1.263 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004365/1.171, allocations: 2.424 MB / 1.265 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/1.171, allocations: 0 / 1.265 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000873/1.172, allocations: 190.3 kB / 1.265 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005852/1.173, allocations: 104.2 kB / 1.265 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.77e-05/1.173, allocations: 34.48 kB / 1.265 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002521/1.175, allocations: 3.084 MB / 1.268 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.175, allocations: 0 / 1.268 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00275/1.178, allocations: 1.237 MB / 1.27 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005165/1.179, allocations: 318.8 kB / 1.27 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/1.179, allocations: 22.94 kB / 1.27 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008568/1.18, allocations: 79.38 kB / 1.27 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001976/1.18, allocations: 85.67 kB / 1.27 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.962e-05/1.18, allocations: 42.02 kB / 1.27 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007483/1.181, allocations: 0.5692 MB / 1.271 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.42e-07/1.181, allocations: 0.8125 kB / 1.271 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0013/1.182, allocations: 452.6 kB / 1.271 GB, free: 173.3 MB / 0.9981 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.001679/1.184, allocations: 0.722 MB / 1.272 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003509/1.187, allocations: 1.388 MB / 1.273 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/1.187, allocations: 1.469 kB / 1.273 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001385/1.189, allocations: 0.7389 MB / 1.274 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001665/1.19, allocations: 358.3 kB / 1.274 GB, free: 172 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004197/1.195, allocations: 2.049 MB / 1.276 GB, free: 171 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006907/1.195, allocations: 1.105 MB / 1.277 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001243/1.197, allocations: 307.7 kB / 1.278 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000317/1.197, allocations: 122.5 kB / 1.278 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of SimCode: time 5.81e-07/1.197, allocations: 0 / 1.278 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.03682/1.234, allocations: 20.01 MB / 1.297 GB, free: 163.1 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches