Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.EulerCurve,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve,fileNamePrefix="Buildings_latest_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.002106/0.002106, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.003109/0.003109, allocations: 197.9 kB / 16.14 MB, free: 6.719 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.5/1.5, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.72/2.72, allocations: 461.9 MB / 0.7342 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 66.28 kB / 0.8985 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2894, allocations: 157.4 MB / 1.052 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.001752/0.2912, allocations: 0.6151 MB / 1.053 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.2923, allocations: 0.6543 MB / 1.053 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.072e-05/0.2924, allocations: 4 kB / 1.053 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.369e-05/0.2924, allocations: 0 / 1.053 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.27e-06/0.2924, allocations: 0 / 1.053 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004813/0.2929, allocations: 127.7 kB / 1.054 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.008e-05/0.2929, allocations: 0 / 1.054 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.179e-05/0.293, allocations: 11.97 kB / 1.054 GB, free: 6.844 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.228e-05/0.293, allocations: 0 / 1.054 GB, free: 6.844 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.604e-05/0.293, allocations: 0 / 1.054 GB, free: 6.844 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.293, allocations: 4 kB / 1.054 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003296/0.2934, allocations: 211.7 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.079e-05/0.2934, allocations: 4 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.805e-05/0.2934, allocations: 7.938 kB / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.2936, allocations: 131.7 kB / 1.054 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2936, allocations: 0 / 1.054 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.42e-07/0.2937, allocations: 0 / 1.054 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.838e-06/0.2937, allocations: 0 / 1.054 GB, free: 6.492 MB / 0.8106 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.0003101/0.294, allocations: 355.5 kB / 1.054 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.294, allocations: 15.97 kB / 1.054 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.008e-05/0.2941, allocations: 30.75 kB / 1.054 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.069e-05/0.2941, allocations: 0.9375 kB / 1.054 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.193e-05/0.2942, allocations: 164.4 kB / 1.054 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.2942, allocations: 384 / 1.054 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.2942, allocations: 384 / 1.054 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.2943, allocations: 42.19 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.2943, allocations: 3.938 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-06/0.2944, allocations: 0 / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.2944, allocations: 0 / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.476e-05/0.2944, allocations: 15.98 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002171/0.2946, allocations: 150 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.786e-05/0.2947, allocations: 30.61 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.086e-05/0.2947, allocations: 12.84 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008838/0.2956, allocations: 0.6922 MB / 1.055 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.2957, allocations: 30.56 kB / 1.055 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.2957, allocations: 0 / 1.055 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001384/0.2958, allocations: 49.62 kB / 1.055 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.2958, allocations: 55.41 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.172e-05/0.2959, allocations: 89.86 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.2959, allocations: 29.7 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.312e-05/0.2959, allocations: 80.14 kB / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.296, allocations: 15.75 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/0.296, allocations: 17.7 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.631e-05/0.2961, allocations: 318.8 kB / 1.056 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.343e-05/0.2961, allocations: 4 kB / 1.056 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.2e-05/0.2961, allocations: 25.64 kB / 1.056 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.951e-05/0.2962, allocations: 21.72 kB / 1.056 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2962, allocations: 0 / 1.056 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.965e-05/0.2963, allocations: 49.62 kB / 1.056 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.2963, allocations: 11.94 kB / 1.056 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.2963, allocations: 3.938 kB / 1.056 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.2963, allocations: 0 / 1.056 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.94e-05/0.2964, allocations: 8 kB / 1.056 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.2964, allocations: 8.031 kB / 1.056 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.218e-05/0.2964, allocations: 0 / 1.056 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-06/0.2964, allocations: 0 / 1.056 GB, free: 3.801 MB / 0.8106 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.249e-05/0.2965, allocations: 113.8 kB / 1.056 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.646e-06/0.2965, allocations: 3.984 kB / 1.056 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.597e-05/0.2966, allocations: 53.06 kB / 1.056 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.2966, allocations: 0 / 1.056 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.2966, allocations: 4 kB / 1.056 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2966, allocations: 4 kB / 1.056 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.2967, allocations: 153.7 kB / 1.056 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2967, allocations: 4 kB / 1.056 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.934e-05/0.2968, allocations: 4 kB / 1.056 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.2968, allocations: 0 / 1.056 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.2968, allocations: 3.938 kB / 1.056 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2968, allocations: 0 / 1.056 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2968, allocations: 0 / 1.056 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.2969, allocations: 89.45 kB / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.076e-05/0.297, allocations: 81.02 kB / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.297, allocations: 3.938 kB / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.122e-05/0.297, allocations: 4.031 kB / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.21e-05/0.297, allocations: 4.031 kB / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.297, allocations: 0 / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.858e-05/0.2971, allocations: 75.28 kB / 1.057 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2971, allocations: 0 / 1.057 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002494/0.2973, allocations: 51.98 kB / 1.057 GB, free: 3.059 MB / 0.8106 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.0005373/0.2979, allocations: 0.6788 MB / 1.057 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.125e-05/0.2979, allocations: 15.94 kB / 1.057 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.2979, allocations: 0 / 1.057 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.38e-05/0.298, allocations: 11.98 kB / 1.057 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001223/0.2981, allocations: 128 / 1.057 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009276/0.299, allocations: 1.12 MB / 1.059 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.2993, allocations: 0.6692 MB / 1.059 GB, free: 428 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.232e-05/0.2993, allocations: 11.92 kB / 1.059 GB, free: 416 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.983e-05/0.2993, allocations: 7.438 kB / 1.059 GB, free: 408 kB / 0.8106 GB Notification: Performance of SimCode: time 3.1e-07/0.2993, allocations: 0 / 1.059 GB, free: 408 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.15/0.4493, allocations: 1.981 MB / 1.061 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002329/0.4496, allocations: 219 kB / 1.061 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.022/2.472, allocations: 1.75 kB / 1.061 GB, free: 14.26 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve.fmu > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches