Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 103.4 kB / 16.27 MB, free: 5.969 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.001505/0.001505, allocations: 189.3 kB / 17.2 MB, free: 5.594 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.409/1.409, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.663/2.663, allocations: 469.8 MB / 0.743 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 60.84 kB / 0.9092 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3353, allocations: 159.1 MB / 1.065 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.7031/1.038, allocations: 168.4 MB / 1.229 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02361/1.062, allocations: 17.33 MB / 1.246 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00201/1.064, allocations: 31.81 kB / 1.246 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001755/1.066, allocations: 0.57 MB / 1.247 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005493/1.072, allocations: 1.782 MB / 1.248 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003932/1.075, allocations: 1.424 MB / 1.25 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004015/1.079, allocations: 2.855 MB / 1.252 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002828/1.082, allocations: 1.941 MB / 1.254 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00439/1.087, allocations: 1.414 MB / 1.256 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001768/1.089, allocations: 1.117 MB / 1.257 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0004195/1.089, allocations: 220 kB / 1.257 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003494/1.092, allocations: 1.521 MB / 1.259 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0008138/1.093, allocations: 0.7946 MB / 1.259 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001489/1.095, allocations: 1.217 MB / 1.261 GB, free: 240 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.005401/1.1, allocations: 3.521 MB / 1.264 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/1.1, allocations: 3.938 kB / 1.264 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.483e-06/1.1, allocations: 0 / 1.264 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.578e-05/1.1, allocations: 0 / 1.264 GB, free: 12.7 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.005105/1.105, allocations: 2.75 MB / 1.267 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/1.105, allocations: 16.03 kB / 1.267 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003683/1.109, allocations: 0.5512 MB / 1.267 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002662/1.112, allocations: 1.599 MB / 1.269 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/1.112, allocations: 131.4 kB / 1.269 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002243/1.112, allocations: 168 kB / 1.269 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003435/1.116, allocations: 1.944 MB / 1.271 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.961e-05/1.116, allocations: 4 kB / 1.271 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001751/1.116, allocations: 76 kB / 1.271 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.814e-05/1.116, allocations: 44 kB / 1.271 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003676/1.12, allocations: 2.089 MB / 1.273 GB, free: 3.156 MB / 0.9825 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.009516/1.129, allocations: 6.095 MB / 1.279 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003526/1.133, allocations: 2.089 MB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001312/1.134, allocations: 0.7576 MB / 1.282 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006242/1.135, allocations: 437.6 kB / 1.282 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001777/1.136, allocations: 1.005 MB / 1.283 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 2.766e-06/1.136, allocations: 0 / 1.283 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.0071/1.144, allocations: 2.954 MB / 1.286 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/1.144, allocations: 201.2 kB / 1.286 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002514/1.146, allocations: 1.791 MB / 1.288 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002064/1.146, allocations: 57.7 kB / 1.288 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008389/1.147, allocations: 0.8272 MB / 1.289 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005087/1.148, allocations: 481 kB / 1.289 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004294/1.148, allocations: 254.8 kB / 1.29 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001857/1.148, allocations: 361.9 kB / 1.29 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/1.15, allocations: 0.5882 MB / 1.291 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/1.151, allocations: 0.8052 MB / 1.291 GB, free: 15.71 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002499/1.154, allocations: 1.329 MB / 1.293 GB, free: 14.37 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.774e-06/1.154, allocations: 4 kB / 1.293 GB, free: 14.37 MB / 1.014 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004138/1.158, allocations: 1.807 MB / 1.294 GB, free: 12.54 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/1.158, allocations: 4 kB / 1.294 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/1.158, allocations: 3.938 kB / 1.294 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/1.159, allocations: 216.1 kB / 1.295 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/1.16, allocations: 331.5 kB / 1.295 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006787/1.167, allocations: 7.317 MB / 1.302 GB, free: 3.953 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/1.169, allocations: 165.1 kB / 1.302 GB, free: 3.793 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001632/1.169, allocations: 67.89 kB / 1.302 GB, free: 3.727 MB / 1.014 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 (152): * Single equations (assignments): 147 * 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.00106/1.17, allocations: 483.2 kB / 1.303 GB, free: 3.242 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004284/1.171, allocations: 181.8 kB / 1.303 GB, free: 3.062 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004686/1.175, allocations: 2.125 MB / 1.305 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.912e-05/1.175, allocations: 19.94 kB / 1.305 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/1.175, allocations: 0 / 1.305 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.018e-05/1.175, allocations: 11.97 kB / 1.305 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007107/1.183, allocations: 3.975 MB / 1.309 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/1.183, allocations: 0 / 1.309 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001487/1.184, allocations: 315.5 kB / 1.309 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009183/1.185, allocations: 220 kB / 1.309 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/1.185, allocations: 39.97 kB / 1.309 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00645/1.192, allocations: 7.359 MB / 1.317 GB, free: 4.184 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/1.192, allocations: 0 / 1.317 GB, free: 4.184 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004399/1.196, allocations: 1.986 MB / 1.319 GB, free: 2.164 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009125/1.197, allocations: 474.2 kB / 1.319 GB, free: 1.68 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002538/1.197, allocations: 28 kB / 1.319 GB, free: 1.652 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/1.198, allocations: 103.9 kB / 1.319 GB, free: 1.551 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002593/1.199, allocations: 109.2 kB / 1.319 GB, free: 1.441 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/1.199, allocations: 71.95 kB / 1.319 GB, free: 1.371 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00182/1.201, allocations: 1.277 MB / 1.321 GB, free: 100 kB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.201, allocations: 0 / 1.321 GB, free: 100 kB / 1.029 GB Notification: Performance of remove unused functions: time 0.001898/1.203, allocations: 0.6859 MB / 1.321 GB, free: 15.41 MB / 1.045 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.00231/1.205, allocations: 0.7488 MB / 1.322 GB, free: 14.85 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.005608/1.211, allocations: 2.523 MB / 1.324 GB, free: 12.26 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/1.211, allocations: 0.5625 kB / 1.324 GB, free: 12.25 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002245/1.213, allocations: 1.411 MB / 1.326 GB, free: 10.78 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002551/1.215, allocations: 0.549 MB / 1.326 GB, free: 10.25 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006582/1.222, allocations: 3.712 MB / 1.33 GB, free: 6.508 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/1.223, allocations: 1.482 MB / 1.331 GB, free: 4.992 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007396/1.224, allocations: 195.3 kB / 1.332 GB, free: 4.801 MB / 1.045 GB Notification: Performance of SimCode: time 2.504e-06/1.224, allocations: 0 / 1.332 GB, free: 4.801 MB / 1.045 GB Notification: Performance of Templates: time 0.08376/1.308, allocations: 66.9 MB / 1.397 GB, free: 1.961 MB / 1.107 GB make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches