Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.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.Fluid.Movers.BaseClasses.Validation.EulerCurve,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve",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.00122/0.00122, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001313/0.001312, allocations: 193.8 kB / 16.25 MB, free: 6.629 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.495/1.495, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.663/2.663, allocations: 437 MB / 0.7101 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002437/0.002437, allocations: 59.91 kB / 0.8689 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6889/0.6913, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.002015/0.6934, allocations: 0.6053 MB / 1.018 GB, free: 2.098 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.6946, allocations: 0.6317 MB / 1.018 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.37e-05/0.6946, allocations: 0 / 1.018 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.832e-05/0.6946, allocations: 0 / 1.018 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.791e-06/0.6947, allocations: 0 / 1.018 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007188/0.6954, allocations: 147.7 kB / 1.018 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.296e-05/0.6955, allocations: 4 kB / 1.018 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.23e-05/0.6955, allocations: 0 / 1.018 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.099e-05/0.6955, allocations: 7.938 kB / 1.018 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.025e-05/0.6955, allocations: 3.984 kB / 1.018 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.177e-06/0.6956, allocations: 0 / 1.018 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003634/0.6959, allocations: 207.7 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.187e-05/0.6959, allocations: 4 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.353e-05/0.696, allocations: 3.984 kB / 1.018 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.00026/0.6962, allocations: 135.7 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.6963, allocations: 4 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6963, allocations: 0 / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.6963, allocations: 0 / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004223/0.6967, allocations: 343.6 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.6968, allocations: 8.031 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.703e-05/0.6968, allocations: 38.73 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.451e-05/0.6968, allocations: 4.844 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.6969, allocations: 164.4 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.697, allocations: 4.375 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.697, allocations: 4.375 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.532e-05/0.6971, allocations: 42.19 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.6971, allocations: 3.938 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.6971, allocations: 0 / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.6971, allocations: 0 / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.545e-05/0.6972, allocations: 4 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002455/0.6974, allocations: 159.9 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.6976, allocations: 38.66 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.7e-05/0.6976, allocations: 4.859 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001117/0.6987, allocations: 0.6844 MB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.6988, allocations: 42.48 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.6988, allocations: 0 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0001918/0.699, allocations: 49.62 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.699, allocations: 51.41 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.246e-05/0.6991, allocations: 93.8 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.6991, allocations: 25.7 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.036e-05/0.6992, allocations: 80.14 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.084e-05/0.6992, allocations: 11.91 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.414e-05/0.6993, allocations: 13.72 kB / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.6994, allocations: 318.8 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.037e-05/0.6995, allocations: 4 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.438e-05/0.6995, allocations: 17.66 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.799e-05/0.6996, allocations: 25.7 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.6996, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001022/0.6997, allocations: 57.55 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.6997, allocations: 7.984 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.6997, allocations: 3.938 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.6997, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.437e-05/0.6998, allocations: 8 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.6998, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.383e-05/0.6998, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.6998, allocations: 4.328 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 8.9e-05/0.6999, allocations: 110.4 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.165e-05/0.6999, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/0.7001, allocations: 68.97 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.7001, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.7001, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.7001, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.7003, allocations: 161.6 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.7003, allocations: 3.984 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.261e-05/0.7003, allocations: 4 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.7004, allocations: 0 / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.7004, allocations: 11.94 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.7004, allocations: 0 / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.7004, allocations: 0 / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.7005, allocations: 73.06 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.397e-05/0.7006, allocations: 85.12 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.7006, allocations: 3.938 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.129e-05/0.7006, allocations: 0 / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.686e-05/0.7006, allocations: 0 / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.7007, allocations: 4.062 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.985e-05/0.7007, allocations: 83.22 kB / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.7007, allocations: 0 / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003286/0.701, allocations: 47.98 kB / 1.021 GB, free: 13.52 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (3): * Single equations (assignments): 3 * 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.0006841/0.7017, allocations: 0.6789 MB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001225/0.7019, allocations: 23.92 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.7019, allocations: 0 / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-05/0.7019, allocations: 4.094 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.7021, allocations: 4 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009692/0.703, allocations: 1.116 MB / 1.023 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/0.7033, allocations: 0.6768 MB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.104e-05/0.7033, allocations: 7.984 kB / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.672e-05/0.7033, allocations: 11.44 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of SimCode: time 2.01e-07/0.7034, allocations: 0 / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2247/0.928, allocations: 2.014 MB / 1.026 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002566/0.9283, allocations: 203.4 kB / 1.026 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.279/3.207, allocations: 4 kB / 1.026 GB, free: 8.711 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve.fmu > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches