Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.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: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerComparison",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerComparison",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.008138/0.008138, allocations: 100.2 kB / 15.73 MB, free: 6.496 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.001813/0.001813, allocations: 198.8 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.526/1.526, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.061/3.061, allocations: 472.7 MB / 0.7453 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 67.89 kB / 1.069 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3304, allocations: 159.9 MB / 1.225 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison): time 0.005685/0.3362, allocations: 3.763 MB / 1.229 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008643/0.3448, allocations: 4.885 MB / 1.234 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009639/0.3458, allocations: 19.94 kB / 1.234 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004549/0.3505, allocations: 1.4 MB / 1.235 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002268/0.3528, allocations: 0.7937 MB / 1.236 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002126/0.3549, allocations: 0.8422 MB / 1.237 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02066/0.3756, allocations: 12.81 MB / 1.249 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002866/0.3759, allocations: 89.77 kB / 1.249 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.3771, allocations: 0.584 MB / 1.25 GB, free: 384 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6995/1.077, allocations: 0.589 MB / 1.25 GB, free: 18.06 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007053/1.077, allocations: 69.97 kB / 1.25 GB, free: 18.06 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004011/1.081, allocations: 0.8268 MB / 1.251 GB, free: 18.06 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001997/1.083, allocations: 0.8009 MB / 1.252 GB, free: 18.06 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003967/1.087, allocations: 0.8624 MB / 1.253 GB, free: 17.82 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00795/1.095, allocations: 2.625 MB / 1.255 GB, free: 17.41 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/1.095, allocations: 0 / 1.255 GB, free: 17.41 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.515e-06/1.096, allocations: 1.906 kB / 1.255 GB, free: 17.41 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.181e-05/1.096, allocations: 0 / 1.255 GB, free: 17.41 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.008596/1.104, allocations: 2.317 MB / 1.258 GB, free: 16.1 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.502e-05/1.104, allocations: 10.12 kB / 1.258 GB, free: 16.1 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001178/1.104, allocations: 51.41 kB / 1.258 GB, free: 16.06 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005065/1.11, allocations: 0.4913 MB / 1.258 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01676/1.126, allocations: 5.651 MB / 1.264 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.117e-05/1.126, allocations: 21.38 kB / 1.264 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002062/1.127, allocations: 35.75 kB / 1.264 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/1.129, allocations: 0.6541 MB / 1.264 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/1.129, allocations: 0 / 1.264 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.606e-05/1.129, allocations: 11.73 kB / 1.264 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/1.129, allocations: 5.125 kB / 1.264 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002072/1.131, allocations: 0.5233 MB / 1.265 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006859/1.138, allocations: 2.329 MB / 1.267 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002012/1.14, allocations: 0.6976 MB / 1.268 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008343/1.141, allocations: 287.2 kB / 1.268 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.039e-05/1.141, allocations: 3.469 kB / 1.268 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/1.141, allocations: 37.75 kB / 1.268 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=21): time 2.294e-06/1.141, allocations: 3.938 kB / 1.268 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21): time 0.003634/1.144, allocations: 1.038 MB / 1.269 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/1.144, allocations: 53.84 kB / 1.269 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00744/1.152, allocations: 2.99 MB / 1.272 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002327/1.152, allocations: 36.17 kB / 1.272 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008323/1.153, allocations: 0.6896 MB / 1.273 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001921/1.153, allocations: 85.77 kB / 1.273 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007942/1.154, allocations: 349 kB / 1.273 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.237e-05/1.154, allocations: 304.8 kB / 1.274 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001842/1.156, allocations: 1.099 MB / 1.275 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002116/1.158, allocations: 1.448 MB / 1.276 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003526/1.162, allocations: 2.317 MB / 1.278 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.56e-05/1.162, allocations: 2.25 kB / 1.278 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.004787/1.166, allocations: 2.752 MB / 1.281 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/1.166, allocations: 12.59 kB / 1.281 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/1.166, allocations: 7.656 kB / 1.281 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/1.166, allocations: 16.62 kB / 1.281 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/1.168, allocations: 255.9 kB / 1.281 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-05/1.168, allocations: 20.53 kB / 1.281 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002032/1.17, allocations: 217.8 kB / 1.282 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/1.17, allocations: 79.69 kB / 1.282 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002242/1.172, allocations: 1.394 MB / 1.283 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001709/1.174, allocations: 1.291 MB / 1.284 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002938/1.177, allocations: 2.021 MB / 1.286 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.416e-06/1.177, allocations: 1.875 kB / 1.286 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.004394/1.181, allocations: 2.435 MB / 1.289 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/1.181, allocations: 9.156 kB / 1.289 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-05/1.181, allocations: 6.812 kB / 1.289 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/1.181, allocations: 16.61 kB / 1.289 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/1.182, allocations: 250.8 kB / 1.289 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.995e-05/1.182, allocations: 16.27 kB / 1.289 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002146/1.184, allocations: 186.9 kB / 1.289 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/1.185, allocations: 67.66 kB / 1.289 GB, free: 6.258 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 116 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002927/1.185, allocations: 224.9 kB / 1.289 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003951/1.185, allocations: 186.6 kB / 1.29 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002311/1.188, allocations: 0.8065 MB / 1.29 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/1.188, allocations: 7.922 kB / 1.29 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/1.188, allocations: 0 / 1.29 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/1.188, allocations: 1.453 kB / 1.29 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002228/1.19, allocations: 1.08 MB / 1.291 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/1.19, allocations: 0 / 1.291 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005707/1.191, allocations: 88.92 kB / 1.291 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/1.191, allocations: 5.25 kB / 1.291 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.947e-05/1.191, allocations: 12.05 kB / 1.292 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/1.191, allocations: 1.312 kB / 1.292 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.191, allocations: 0 / 1.292 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002015/1.193, allocations: 0.8746 MB / 1.292 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007861/1.193, allocations: 380.2 kB / 1.293 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003088/1.194, allocations: 5.875 kB / 1.293 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/1.195, allocations: 95.2 kB / 1.293 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.249e-05/1.195, allocations: 19.11 kB / 1.293 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.308e-05/1.195, allocations: 17.61 kB / 1.293 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003075/1.198, allocations: 2.068 MB / 1.295 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/1.198, allocations: 1.156 kB / 1.295 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002544/1.201, allocations: 0.6823 MB / 1.296 GB, free: 3.645 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002812/1.203, allocations: 1.69 MB / 1.297 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004672/1.208, allocations: 2.763 MB / 1.3 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.208, allocations: 0 / 1.3 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007607/1.209, allocations: 294.8 kB / 1.3 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003857/1.213, allocations: 0.9079 MB / 1.301 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03341/1.246, allocations: 19.46 MB / 1.32 GB, free: 9.801 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/1.247, allocations: 1.417 MB / 1.321 GB, free: 8.957 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002806/1.25, allocations: 0.5307 MB / 1.322 GB, free: 8.84 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001266/1.252, allocations: 0.6578 MB / 1.323 GB, free: 8.34 MB / 1.014 GB Notification: Performance of SimCode: time 9.42e-07/1.252, allocations: 0 / 1.323 GB, free: 8.34 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09906/1.351, allocations: 54.8 MB / 1.376 GB, free: 7.059 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/13.16, allocations: 13.66 kB / 1.376 GB, free: 7.047 MB / 1.061 GB (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerComparison.fmu > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_EulerComparison.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches