Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaSta.reaWeaTDryBul.y|weaSta.reaWeaTDewPoi.y|weaSta.reaWeaTBlaSky.y|weaSta.reaWeaHGloHor.y|weaSta.reaWeaHDifHor.y|weaSta.reaWeaHDirNor.y",fileNamePrefix="Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaSta.reaWeaTDryBul.y|weaSta.reaWeaTDewPoi.y|weaSta.reaWeaTBlaSky.y|weaSta.reaWeaHGloHor.y|weaSta.reaWeaHDifHor.y|weaSta.reaWeaHDirNor.y",fileNamePrefix="Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004516/0.004516, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001104/0.001104, allocations: 194.3 kB / 16.67 MB, free: 5.977 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.715/2.715, allocations: 437 MB / 0.7105 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 67.89 kB / 1.019 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2938, allocations: 151.6 MB / 1.167 GB, free: 6.895 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007479/0.3014, allocations: 5.639 MB / 1.172 GB, free: 1.227 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.8152/1.117, allocations: 150.9 MB / 1.319 GB, free: 9.637 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00121/1.118, allocations: 27.56 kB / 1.319 GB, free: 9.625 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001156/1.119, allocations: 363.9 kB / 1.32 GB, free: 9.477 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00229/1.121, allocations: 0.5723 MB / 1.32 GB, free: 9.215 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002294/1.124, allocations: 0.8718 MB / 1.321 GB, free: 9.059 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002442/1.126, allocations: 1.565 MB / 1.323 GB, free: 8.758 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001265/1.127, allocations: 0.7619 MB / 1.323 GB, free: 8.555 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001025/1.128, allocations: 0.5417 MB / 1.324 GB, free: 8.43 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001014/1.13, allocations: 0.5677 MB / 1.325 GB, free: 8.266 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002529/1.13, allocations: 132.2 kB / 1.325 GB, free: 8.266 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001251/1.131, allocations: 0.4957 MB / 1.325 GB, free: 8.191 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003722/1.131, allocations: 341.3 kB / 1.326 GB, free: 7.969 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006475/1.132, allocations: 0.6559 MB / 1.326 GB, free: 7.516 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002914/1.135, allocations: 1.925 MB / 1.328 GB, free: 6.684 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/1.135, allocations: 0 / 1.328 GB, free: 6.684 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.174e-06/1.135, allocations: 0 / 1.328 GB, free: 6.684 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.657e-05/1.135, allocations: 0 / 1.328 GB, free: 6.684 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003457/1.139, allocations: 1.728 MB / 1.33 GB, free: 5.504 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/1.139, allocations: 10.12 kB / 1.33 GB, free: 5.504 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/1.14, allocations: 225.9 kB / 1.33 GB, free: 5.418 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/1.141, allocations: 0.9144 MB / 1.331 GB, free: 4.848 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.062e-05/1.141, allocations: 72.41 kB / 1.331 GB, free: 4.82 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/1.141, allocations: 100.8 kB / 1.331 GB, free: 4.785 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002254/1.144, allocations: 1.033 MB / 1.332 GB, free: 4.312 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/1.144, allocations: 5.344 kB / 1.332 GB, free: 4.309 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/1.144, allocations: 44.53 kB / 1.332 GB, free: 4.277 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-05/1.144, allocations: 24.91 kB / 1.332 GB, free: 4.277 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002367/1.146, allocations: 1.164 MB / 1.333 GB, free: 4.008 MB / 1.014 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.005734/1.152, allocations: 3.021 MB / 1.336 GB, free: 2.203 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001644/1.154, allocations: 0.7907 MB / 1.337 GB, free: 1.895 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000553/1.154, allocations: 302.6 kB / 1.337 GB, free: 1.777 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.829e-05/1.154, allocations: 34.19 kB / 1.337 GB, free: 1.766 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008708/1.155, allocations: 495.1 kB / 1.338 GB, free: 1.559 MB / 1.014 GB Notification: Performance of pre-optimization done (n=78): time 4.358e-06/1.155, allocations: 0 / 1.338 GB, free: 1.559 MB / 1.014 GB Notification: Performance of matching and sorting (n=78): time 0.00338/1.159, allocations: 1.211 MB / 1.339 GB, free: 1.043 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001574/1.159, allocations: 188.7 kB / 1.339 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001815/1.161, allocations: 0.7928 MB / 1.34 GB, free: 496 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001308/1.161, allocations: 42.67 kB / 1.34 GB, free: 452 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006209/1.161, allocations: 0.5117 MB / 1.34 GB, free: 36 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003432/1.162, allocations: 271.8 kB / 1.341 GB, free: 15.82 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003112/1.162, allocations: 161.6 kB / 1.341 GB, free: 15.74 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001996/1.162, allocations: 342.7 kB / 1.341 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000648/1.163, allocations: 268.8 kB / 1.341 GB, free: 15.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006883/1.164, allocations: 359.6 kB / 1.342 GB, free: 15.17 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/1.165, allocations: 0.6003 MB / 1.342 GB, free: 14.89 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/1.165, allocations: 0 / 1.342 GB, free: 14.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002181/1.167, allocations: 0.8685 MB / 1.343 GB, free: 14.54 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/1.167, allocations: 5.188 kB / 1.343 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/1.167, allocations: 5.125 kB / 1.343 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006347/1.168, allocations: 83.69 kB / 1.343 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006435/1.168, allocations: 161.1 kB / 1.343 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002184/1.171, allocations: 1.651 MB / 1.345 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008898/1.171, allocations: 96.47 kB / 1.345 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-05/1.172, allocations: 33.66 kB / 1.345 GB, free: 12.89 MB / 1.029 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 (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006042/1.172, allocations: 301.1 kB / 1.345 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/1.172, allocations: 109.1 kB / 1.346 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002635/1.175, allocations: 1.076 MB / 1.347 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/1.175, allocations: 10.16 kB / 1.347 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/1.175, allocations: 3.938 kB / 1.347 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/1.175, allocations: 4.922 kB / 1.347 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/1.177, allocations: 1.006 MB / 1.348 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/1.177, allocations: 0 / 1.348 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005884/1.177, allocations: 138.3 kB / 1.348 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004618/1.178, allocations: 73.95 kB / 1.348 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.349e-05/1.178, allocations: 24.22 kB / 1.348 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002027/1.18, allocations: 1.674 MB / 1.349 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.18, allocations: 3.984 kB / 1.349 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002028/1.182, allocations: 0.9484 MB / 1.35 GB, free: 9.633 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004104/1.182, allocations: 293.2 kB / 1.351 GB, free: 9.418 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/1.182, allocations: 21.19 kB / 1.351 GB, free: 9.402 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006111/1.183, allocations: 68.36 kB / 1.351 GB, free: 9.383 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/1.183, allocations: 66.16 kB / 1.351 GB, free: 9.371 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.044e-05/1.183, allocations: 36.33 kB / 1.351 GB, free: 9.363 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008394/1.184, allocations: 0.5573 MB / 1.351 GB, free: 9.113 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.184, allocations: 0 / 1.351 GB, free: 9.113 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001164/1.185, allocations: 350 kB / 1.352 GB, free: 9.016 MB / 1.029 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001394/1.187, allocations: 0.6105 MB / 1.352 GB, free: 8.746 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001821/1.189, allocations: 0.8221 MB / 1.353 GB, free: 8.406 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.189, allocations: 192 / 1.353 GB, free: 8.406 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001093/1.19, allocations: 0.514 MB / 1.354 GB, free: 8.16 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/1.191, allocations: 479.8 kB / 1.354 GB, free: 8.02 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003407/1.195, allocations: 1.953 MB / 1.356 GB, free: 6.992 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007049/1.196, allocations: 1.098 MB / 1.357 GB, free: 6.258 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009564/1.197, allocations: 290 kB / 1.357 GB, free: 6.109 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002668/1.197, allocations: 113.9 kB / 1.357 GB, free: 6.074 MB / 1.029 GB Notification: Performance of SimCode: time 1.152e-06/1.197, allocations: 4 kB / 1.357 GB, free: 6.07 MB / 1.029 GB Notification: Performance of Templates: time 0.03055/1.227, allocations: 17.54 MB / 1.375 GB, free: 13.29 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches