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: "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007529/0.007529, allocations: 105.4 kB / 15.74 MB, free: 6.488 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.001711/0.001712, allocations: 194.9 kB / 16.68 MB, free: 6.375 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.436/1.436, 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.608/2.608, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.00116, allocations: 75.86 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2732, allocations: 151.6 MB / 1.166 GB, free: 7.348 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.00673/0.28, allocations: 5.632 MB / 1.172 GB, free: 1.684 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7602/1.04, allocations: 150.9 MB / 1.319 GB, free: 9.555 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/1.041, allocations: 27.16 kB / 1.319 GB, free: 9.543 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001111/1.043, allocations: 362.4 kB / 1.319 GB, free: 9.398 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002182/1.045, allocations: 0.5698 MB / 1.32 GB, free: 9.137 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002404/1.047, allocations: 0.8773 MB / 1.321 GB, free: 8.977 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002216/1.049, allocations: 1.559 MB / 1.322 GB, free: 8.68 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001323/1.051, allocations: 0.757 MB / 1.323 GB, free: 8.477 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009612/1.052, allocations: 0.5502 MB / 1.324 GB, free: 8.344 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009631/1.053, allocations: 0.5662 MB / 1.324 GB, free: 8.184 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000404/1.053, allocations: 131.8 kB / 1.324 GB, free: 8.184 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/1.054, allocations: 0.4926 MB / 1.325 GB, free: 8.152 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005295/1.055, allocations: 336.3 kB / 1.325 GB, free: 7.988 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001228/1.056, allocations: 0.6623 MB / 1.326 GB, free: 7.531 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003465/1.06, allocations: 1.911 MB / 1.328 GB, free: 6.711 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.06, allocations: 1.156 kB / 1.328 GB, free: 6.711 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.603e-06/1.06, allocations: 0 / 1.328 GB, free: 6.711 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.969e-05/1.06, allocations: 0 / 1.328 GB, free: 6.711 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.004291/1.064, allocations: 1.693 MB / 1.329 GB, free: 5.57 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/1.064, allocations: 10.02 kB / 1.329 GB, free: 5.57 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003497/1.064, allocations: 157.4 kB / 1.329 GB, free: 5.469 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001294/1.066, allocations: 217.1 kB / 1.33 GB, free: 5.391 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001692/1.067, allocations: 0.9175 MB / 1.33 GB, free: 4.82 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.864e-05/1.068, allocations: 74.66 kB / 1.331 GB, free: 4.789 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/1.068, allocations: 94.66 kB / 1.331 GB, free: 4.758 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001955/1.07, allocations: 1.033 MB / 1.332 GB, free: 4.289 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/1.07, allocations: 0 / 1.332 GB, free: 4.289 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/1.07, allocations: 47.72 kB / 1.332 GB, free: 4.254 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.318e-05/1.07, allocations: 23.31 kB / 1.332 GB, free: 4.254 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001967/1.072, allocations: 1.164 MB / 1.333 GB, free: 3.984 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.005168/1.077, allocations: 3.01 MB / 1.336 GB, free: 2.195 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/1.079, allocations: 0.7955 MB / 1.337 GB, free: 1.883 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005253/1.079, allocations: 303 kB / 1.337 GB, free: 1.766 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.57e-05/1.079, allocations: 32.08 kB / 1.337 GB, free: 1.754 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008486/1.08, allocations: 488.8 kB / 1.337 GB, free: 1.555 MB / 1.014 GB Notification: Performance of pre-optimization done (n=78): time 3.116e-06/1.08, allocations: 0 / 1.337 GB, free: 1.555 MB / 1.014 GB Notification: Performance of matching and sorting (n=78): time 0.003175/1.083, allocations: 1.204 MB / 1.339 GB, free: 1.043 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.184e-05/1.083, allocations: 191.1 kB / 1.339 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/1.085, allocations: 0.8042 MB / 1.34 GB, free: 480 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.199e-05/1.085, allocations: 41.89 kB / 1.34 GB, free: 436 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004488/1.085, allocations: 0.5138 MB / 1.34 GB, free: 20 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002394/1.086, allocations: 248.9 kB / 1.34 GB, free: 15.82 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002469/1.086, allocations: 144.8 kB / 1.34 GB, free: 15.76 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001167/1.086, allocations: 341.3 kB / 1.341 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005046/1.086, allocations: 240.4 kB / 1.341 GB, free: 15.35 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006153/1.087, allocations: 361.5 kB / 1.341 GB, free: 15.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/1.088, allocations: 0.5832 MB / 1.342 GB, free: 14.89 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/1.088, allocations: 0 / 1.342 GB, free: 14.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001986/1.09, allocations: 0.8092 MB / 1.343 GB, free: 14.56 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/1.09, allocations: 8.594 kB / 1.343 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/1.09, allocations: 1.344 kB / 1.343 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005765/1.091, allocations: 80.5 kB / 1.343 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005874/1.091, allocations: 153.9 kB / 1.343 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1166/1.208, allocations: 1.645 MB / 1.345 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/1.209, allocations: 86.86 kB / 1.345 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001546/1.209, allocations: 28.53 kB / 1.345 GB, free: 12.93 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: 15 (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 (84): * Single equations (assignments): 83 * 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.0007078/1.21, allocations: 289.5 kB / 1.345 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003562/1.21, allocations: 106.1 kB / 1.345 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00267/1.213, allocations: 1.07 MB / 1.346 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/1.213, allocations: 16.98 kB / 1.346 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/1.213, allocations: 3.938 kB / 1.346 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/1.213, allocations: 5.406 kB / 1.346 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/1.215, allocations: 1.008 MB / 1.347 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/1.215, allocations: 1.438 kB / 1.347 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005788/1.215, allocations: 137.2 kB / 1.347 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004507/1.216, allocations: 75.09 kB / 1.347 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-05/1.216, allocations: 28.19 kB / 1.347 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/1.218, allocations: 1.673 MB / 1.349 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/1.218, allocations: 0 / 1.349 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00215/1.22, allocations: 0.9463 MB / 1.35 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000515/1.221, allocations: 289.6 kB / 1.35 GB, free: 9.473 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002344/1.221, allocations: 22.47 kB / 1.35 GB, free: 9.457 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007519/1.222, allocations: 60.61 kB / 1.35 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/1.222, allocations: 66.05 kB / 1.35 GB, free: 9.434 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-05/1.222, allocations: 40.05 kB / 1.35 GB, free: 9.422 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001055/1.223, allocations: 0.5599 MB / 1.351 GB, free: 9.172 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.91e-07/1.223, allocations: 0.8438 kB / 1.351 GB, free: 9.172 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00149/1.224, allocations: 341.2 kB / 1.351 GB, free: 9.078 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.004131/1.229, allocations: 1.995 MB / 1.353 GB, free: 7.977 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001809/1.23, allocations: 0.7966 MB / 1.354 GB, free: 7.633 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/1.23, allocations: 2.562 kB / 1.354 GB, free: 7.633 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009497/1.231, allocations: 0.5188 MB / 1.354 GB, free: 7.387 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001801/1.233, allocations: 477.2 kB / 1.355 GB, free: 7.246 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/1.244, allocations: 6.961 MB / 1.362 GB, free: 3.285 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006724/1.245, allocations: 1.099 MB / 1.363 GB, free: 2.414 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009173/1.246, allocations: 281.4 kB / 1.363 GB, free: 2.273 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006223/1.247, allocations: 471.2 kB / 1.363 GB, free: 1.891 MB / 1.029 GB Notification: Performance of SimCode: time 3.056e-06/1.247, allocations: 0 / 1.363 GB, free: 1.891 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.86/3.107, allocations: 25.8 MB / 1.389 GB, free: 0.5273 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.06/17.16, allocations: 14.5 kB / 1.389 GB, free: 0.5156 MB / 1.045 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > 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/jenkins1/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