Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002004/0.002004, allocations: 220.3 kB / 23.05 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.262/3.262, allocations: 0.49 GB / 0.7959 GB, free: 33.37 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 61.5 kB / 1.155 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3465, allocations: 176.1 MB / 1.327 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.008863/0.3553, allocations: 5.709 MB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2022/0.5575, allocations: 154.4 MB / 1.483 GB, free: 1.207 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001206/0.5587, allocations: 31.69 kB / 1.483 GB, free: 1.176 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009639/0.5597, allocations: 381.3 kB / 1.483 GB, free: 0.8008 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001976/0.5617, allocations: 0.5741 MB / 1.484 GB, free: 232 kB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002323/0.564, allocations: 0.9189 MB / 1.485 GB, free: 15.31 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002119/0.5661, allocations: 1.581 MB / 1.486 GB, free: 13.73 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009489/0.5671, allocations: 0.5145 MB / 1.487 GB, free: 13.17 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008496/0.5679, allocations: 0.5566 MB / 1.487 GB, free: 12.61 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008302/0.5688, allocations: 0.587 MB / 1.488 GB, free: 12.02 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001914/0.5689, allocations: 136 kB / 1.488 GB, free: 11.89 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001141/0.5701, allocations: 0.5192 MB / 1.489 GB, free: 11.37 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000333/0.5704, allocations: 342.8 kB / 1.489 GB, free: 11.04 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006498/0.5711, allocations: 0.676 MB / 1.49 GB, free: 10.36 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00262/0.5737, allocations: 1.973 MB / 1.492 GB, free: 8.375 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.5737, allocations: 0 / 1.492 GB, free: 8.375 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.943e-06/0.5737, allocations: 0 / 1.492 GB, free: 8.375 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.137e-05/0.5737, allocations: 0 / 1.492 GB, free: 8.375 MB / 1.186 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.003256/0.577, allocations: 1.692 MB / 1.493 GB, free: 6.648 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.577, allocations: 8.031 kB / 1.493 GB, free: 6.641 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.659e-05/0.5771, allocations: 30.19 kB / 1.493 GB, free: 6.613 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001862/0.5773, allocations: 156.4 kB / 1.493 GB, free: 6.453 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001521/0.5788, allocations: 263.8 kB / 1.494 GB, free: 6.195 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001719/0.5805, allocations: 0.8462 MB / 1.494 GB, free: 5.324 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.776e-05/0.5806, allocations: 77.98 kB / 1.495 GB, free: 5.246 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.5807, allocations: 96 kB / 1.495 GB, free: 5.152 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001872/0.5826, allocations: 1.032 MB / 1.496 GB, free: 4.082 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.5826, allocations: 0 / 1.496 GB, free: 4.082 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-05/0.5827, allocations: 44 kB / 1.496 GB, free: 4.039 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.249e-05/0.5827, allocations: 24 kB / 1.496 GB, free: 4.016 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002031/0.5848, allocations: 1.167 MB / 1.497 GB, free: 2.848 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004831/0.5896, allocations: 3.027 MB / 1.5 GB, free: 15.69 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/0.5911, allocations: 0.7455 MB / 1.501 GB, free: 14.94 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005368/0.5916, allocations: 278.7 kB / 1.501 GB, free: 14.66 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 7.868e-05/0.5917, allocations: 32.55 kB / 1.501 GB, free: 14.63 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009052/0.5926, allocations: 487.2 kB / 1.501 GB, free: 14.13 MB / 1.201 GB Notification: Performance of pre-optimization done (n=78): time 2.044e-06/0.5926, allocations: 0 / 1.501 GB, free: 14.13 MB / 1.201 GB Notification: Performance of matching and sorting (n=78): time 0.003336/0.596, allocations: 1.144 MB / 1.502 GB, free: 12.98 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001521/0.5961, allocations: 188.6 kB / 1.503 GB, free: 12.76 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/0.5975, allocations: 0.8302 MB / 1.503 GB, free: 11.9 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001049/0.5976, allocations: 41.7 kB / 1.503 GB, free: 11.86 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005614/0.5982, allocations: 0.5242 MB / 1.504 GB, free: 11.32 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002914/0.5985, allocations: 265.8 kB / 1.504 GB, free: 11.06 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002759/0.5988, allocations: 146.6 kB / 1.504 GB, free: 10.91 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.5989, allocations: 338 kB / 1.505 GB, free: 10.58 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005468/0.5995, allocations: 237.9 kB / 1.505 GB, free: 10.34 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006344/0.6001, allocations: 362.5 kB / 1.505 GB, free: 9.965 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.6012, allocations: 0.5761 MB / 1.506 GB, free: 9.375 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.6012, allocations: 0 / 1.506 GB, free: 9.375 MB / 1.201 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00206/0.6033, allocations: 0.8217 MB / 1.507 GB, free: 8.547 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/0.6033, allocations: 6.031 kB / 1.507 GB, free: 8.543 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.6033, allocations: 7.938 kB / 1.507 GB, free: 8.535 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006344/0.604, allocations: 88.84 kB / 1.507 GB, free: 8.445 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006228/0.6046, allocations: 143.8 kB / 1.507 GB, free: 8.305 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002258/0.6068, allocations: 1.542 MB / 1.508 GB, free: 6.641 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008272/0.6077, allocations: 91.41 kB / 1.508 GB, free: 6.551 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.268e-05/0.6077, allocations: 36.03 kB / 1.508 GB, free: 6.516 MB / 1.201 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.000639/0.6084, allocations: 298.3 kB / 1.509 GB, free: 6.215 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002271/0.6086, allocations: 111.3 kB / 1.509 GB, free: 6.105 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002469/0.6111, allocations: 1.072 MB / 1.51 GB, free: 5.027 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.6111, allocations: 11.94 kB / 1.51 GB, free: 5.016 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.6111, allocations: 0 / 1.51 GB, free: 5.016 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.6111, allocations: 3.984 kB / 1.51 GB, free: 5.012 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.6126, allocations: 0.993 MB / 1.511 GB, free: 3.973 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.6126, allocations: 0 / 1.511 GB, free: 3.973 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005813/0.6131, allocations: 139.8 kB / 1.511 GB, free: 3.836 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004646/0.6136, allocations: 72.78 kB / 1.511 GB, free: 3.762 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.337e-05/0.6137, allocations: 23.98 kB / 1.511 GB, free: 3.738 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002223/0.6159, allocations: 1.582 MB / 1.513 GB, free: 2.031 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6159, allocations: 0 / 1.513 GB, free: 2.031 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002265/0.6182, allocations: 0.944 MB / 1.514 GB, free: 1.066 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004987/0.6187, allocations: 222.9 kB / 1.514 GB, free: 0.8477 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/0.6188, allocations: 23.95 kB / 1.514 GB, free: 0.8242 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006327/0.6194, allocations: 63.92 kB / 1.514 GB, free: 0.7617 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/0.6196, allocations: 80.75 kB / 1.514 GB, free: 0.6836 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.03e-05/0.6197, allocations: 35.97 kB / 1.514 GB, free: 0.6484 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0009099/0.6206, allocations: 0.5743 MB / 1.515 GB, free: 64 kB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.6206, allocations: 0 / 1.515 GB, free: 64 kB / 1.201 GB Notification: Performance of remove unused functions: time 0.001075/0.6217, allocations: 347 kB / 1.515 GB, free: 15.72 MB / 1.217 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.004372/0.626, allocations: 2.016 MB / 1.517 GB, free: 13.86 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001761/0.6278, allocations: 0.7573 MB / 1.518 GB, free: 13.09 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.6278, allocations: 0 / 1.518 GB, free: 13.09 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0009965/0.6288, allocations: 0.4923 MB / 1.518 GB, free: 12.58 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001847/0.6306, allocations: 469.5 kB / 1.519 GB, free: 12.16 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01256/0.6432, allocations: 7.064 MB / 1.525 GB, free: 4.945 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008077/0.644, allocations: 1.11 MB / 1.527 GB, free: 3.805 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009636/0.645, allocations: 291.8 kB / 1.527 GB, free: 3.516 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006862/0.6457, allocations: 475.2 kB / 1.527 GB, free: 3.051 MB / 1.217 GB Notification: Performance of SimCode: time 7.22e-07/0.6457, allocations: 0 / 1.527 GB, free: 3.051 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06753/0.7132, allocations: 26.79 MB / 1.553 GB, free: 8.508 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.99/15.71, allocations: 12.11 kB / 1.553 GB, free: 8.5 MB / 1.248 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 22.97148870304227]