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.006867/0.006867, allocations: 102.4 kB / 15.73 MB, free: 6.039 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.001511/0.001511, allocations: 189.1 kB / 16.67 MB, free: 5.973 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.184 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.637/2.637, allocations: 437 MB / 0.7105 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 67.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2904, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.001747/0.2922, allocations: 0.5368 MB / 1.167 GB, free: 6.754 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.2934, allocations: 0.6242 MB / 1.167 GB, free: 6.125 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.997e-05/0.2934, allocations: 0 / 1.167 GB, free: 6.125 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.355e-05/0.2934, allocations: 0 / 1.167 GB, free: 6.125 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.374e-06/0.2935, allocations: 0 / 1.167 GB, free: 6.125 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007418/0.2942, allocations: 175.5 kB / 1.167 GB, free: 5.953 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.355e-05/0.2943, allocations: 0 / 1.167 GB, free: 5.953 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.269e-05/0.2944, allocations: 4 kB / 1.167 GB, free: 5.949 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.717e-05/0.2944, allocations: 0 / 1.167 GB, free: 5.949 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.207e-05/0.2944, allocations: 4 kB / 1.167 GB, free: 5.945 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.2944, allocations: 4 kB / 1.167 GB, free: 5.941 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003995/0.2948, allocations: 195.7 kB / 1.168 GB, free: 5.75 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.484e-05/0.2949, allocations: 11.92 kB / 1.168 GB, free: 5.738 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.905e-05/0.2949, allocations: 0 / 1.168 GB, free: 5.738 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.2952, allocations: 119.8 kB / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2952, allocations: 0 / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of FrontEnd: time 8.386e-06/0.2952, allocations: 0 / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.2952, allocations: 3.938 kB / 1.168 GB, free: 5.617 MB / 0.92 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.000403/0.2956, allocations: 351.6 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.2956, allocations: 8.031 kB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.219e-05/0.2957, allocations: 34.73 kB / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.134e-05/0.2957, allocations: 4.922 kB / 1.168 GB, free: 5.168 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.2958, allocations: 160.4 kB / 1.168 GB, free: 4.973 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.2959, allocations: 12.31 kB / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.2959, allocations: 384 / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.296, allocations: 34.25 kB / 1.168 GB, free: 4.922 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.296, allocations: 3.938 kB / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.296, allocations: 3.938 kB / 1.168 GB, free: 4.914 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.296, allocations: 4 kB / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.538e-05/0.2961, allocations: 12 kB / 1.168 GB, free: 4.898 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002612/0.2964, allocations: 152.5 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.585e-05/0.2965, allocations: 30.66 kB / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.299e-05/0.2965, allocations: 16.84 kB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009445/0.2974, allocations: 0.6805 MB / 1.169 GB, free: 3.816 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.2975, allocations: 34.55 kB / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.2975, allocations: 0 / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.000169/0.2977, allocations: 49.62 kB / 1.169 GB, free: 3.719 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.2977, allocations: 55.41 kB / 1.169 GB, free: 3.652 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.948e-05/0.2978, allocations: 89.86 kB / 1.169 GB, free: 3.555 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.2978, allocations: 25.7 kB / 1.169 GB, free: 3.523 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.289e-05/0.2978, allocations: 92.08 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/0.2979, allocations: 7.812 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-05/0.2979, allocations: 21.66 kB / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.298, allocations: 314.8 kB / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.937e-05/0.2981, allocations: 4 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.613e-05/0.2981, allocations: 21.72 kB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.865e-05/0.2982, allocations: 21.72 kB / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.2982, allocations: 3.984 kB / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.42e-05/0.2983, allocations: 45.64 kB / 1.17 GB, free: 2.965 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.2983, allocations: 4 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.2983, allocations: 11.92 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.2983, allocations: 0 / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.539e-05/0.2984, allocations: 8.359 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.2984, allocations: 0 / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.434e-05/0.2984, allocations: 4 kB / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-06/0.2984, allocations: 0 / 1.17 GB, free: 2.938 MB / 0.92 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 6.871e-05/0.2985, allocations: 109.8 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.165e-05/0.2985, allocations: 7.938 kB / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.2986, allocations: 57.09 kB / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.2986, allocations: 0 / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.2986, allocations: 0 / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.2986, allocations: 8 kB / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.2988, allocations: 150.2 kB / 1.17 GB, free: 2.543 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2988, allocations: 0 / 1.17 GB, free: 2.543 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.272e-05/0.2988, allocations: 11.92 kB / 1.17 GB, free: 2.531 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.2988, allocations: 4 kB / 1.17 GB, free: 2.527 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.2989, allocations: 3.938 kB / 1.17 GB, free: 2.523 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2989, allocations: 0 / 1.17 GB, free: 2.523 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2989, allocations: 0 / 1.17 GB, free: 2.523 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.299, allocations: 81.06 kB / 1.17 GB, free: 2.426 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 2.857e-05/0.299, allocations: 77.11 kB / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.299, allocations: 7.922 kB / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.033e-05/0.2991, allocations: 0 / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.223e-05/0.2991, allocations: 4.031 kB / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.2991, allocations: 0 / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of sorting global known variables: time 2.987e-05/0.2991, allocations: 75.28 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2991, allocations: 0 / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002712/0.2994, allocations: 56.27 kB / 1.171 GB, free: 2.191 MB / 0.92 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.0005701/0.3, allocations: 0.6827 MB / 1.171 GB, free: 1.477 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.831e-05/0.3001, allocations: 19.98 kB / 1.171 GB, free: 1.457 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3001, allocations: 0 / 1.171 GB, free: 1.457 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.756e-05/0.3001, allocations: 8.078 kB / 1.171 GB, free: 1.449 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/0.3003, allocations: 8.062 kB / 1.171 GB, free: 1.441 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009773/0.3012, allocations: 1.116 MB / 1.172 GB, free: 244 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.3015, allocations: 0.6807 MB / 1.173 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.61e-05/0.3016, allocations: 7.984 kB / 1.173 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/0.3016, allocations: 7.438 kB / 1.173 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of SimCode: time 3.4e-07/0.3016, allocations: 0 / 1.173 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01995/0.3216, allocations: 2.104 MB / 1.175 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.851/8.173, allocations: 19.81 kB / 1.175 GB, free: 13.49 MB / 0.9356 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