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.006728/0.006728, allocations: 97.41 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.001379/0.001379, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.277/1.277, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.318/2.318, allocations: 437.1 MB / 0.7106 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001677, allocations: 67.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2357, allocations: 151.6 MB / 1.166 GB, free: 7.297 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.001303/0.237, allocations: 0.5329 MB / 1.167 GB, free: 6.758 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009255/0.2379, allocations: 0.6319 MB / 1.167 GB, free: 6.121 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.004e-05/0.238, allocations: 0 / 1.167 GB, free: 6.121 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.381e-05/0.238, allocations: 0 / 1.167 GB, free: 6.121 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.3e-06/0.238, allocations: 0 / 1.167 GB, free: 6.121 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005088/0.2385, allocations: 167.5 kB / 1.167 GB, free: 5.957 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 3.379e-05/0.2385, allocations: 4 kB / 1.168 GB, free: 5.953 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 2.874e-05/0.2386, allocations: 0 / 1.168 GB, free: 5.953 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.264e-05/0.2386, allocations: 4 kB / 1.168 GB, free: 5.949 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 1.865e-05/0.2386, allocations: 15.92 kB / 1.168 GB, free: 5.934 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.294e-06/0.2386, allocations: 0 / 1.168 GB, free: 5.934 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003197/0.239, allocations: 191.7 kB / 1.168 GB, free: 5.746 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.615e-06/0.239, allocations: 0 / 1.168 GB, free: 5.746 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.558e-05/0.239, allocations: 7.984 kB / 1.168 GB, free: 5.738 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.2392, allocations: 123.9 kB / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2392, allocations: 4 kB / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2392, allocations: 0 / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.2392, allocations: 0 / 1.168 GB, free: 5.613 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.0003037/0.2395, allocations: 347.2 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.2396, allocations: 16.02 kB / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.231e-05/0.2396, allocations: 38.69 kB / 1.168 GB, free: 5.16 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.995e-05/0.2396, allocations: 8.891 kB / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.363e-05/0.2397, allocations: 164.4 kB / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.2397, allocations: 384 / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.2398, allocations: 4.375 kB / 1.168 GB, free: 4.949 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.206e-05/0.2398, allocations: 30.25 kB / 1.168 GB, free: 4.914 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.2399, allocations: 7.938 kB / 1.168 GB, free: 4.906 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.979e-06/0.2399, allocations: 0 / 1.168 GB, free: 4.906 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-06/0.2399, allocations: 0 / 1.168 GB, free: 4.906 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.926e-05/0.2399, allocations: 15.94 kB / 1.168 GB, free: 4.891 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002066/0.2401, allocations: 153.7 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.322e-05/0.2402, allocations: 34.61 kB / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.547e-05/0.2402, allocations: 4.859 kB / 1.169 GB, free: 4.641 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008036/0.241, allocations: 0.6883 MB / 1.169 GB, free: 3.805 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.2411, allocations: 34.56 kB / 1.169 GB, free: 3.762 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.2411, allocations: 0 / 1.169 GB, free: 3.762 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0001092/0.2412, allocations: 49.56 kB / 1.169 GB, free: 3.707 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.2412, allocations: 59.41 kB / 1.169 GB, free: 3.637 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.357e-05/0.2413, allocations: 89.86 kB / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.2413, allocations: 29.7 kB / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.102e-05/0.2413, allocations: 80.14 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.2413, allocations: 7.906 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.2414, allocations: 21.7 kB / 1.17 GB, free: 3.387 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.2415, allocations: 310.8 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.326e-05/0.2415, allocations: 4 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.188e-05/0.2415, allocations: 21.72 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.171e-05/0.2416, allocations: 29.64 kB / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2416, allocations: 0 / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.836e-05/0.2417, allocations: 49.69 kB / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.2417, allocations: 4 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2417, allocations: 7.875 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.305e-06/0.2417, allocations: 0 / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.702e-05/0.2417, allocations: 12.03 kB / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.2417, allocations: 0 / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.672e-05/0.2418, allocations: 3.938 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.2418, allocations: 4.328 kB / 1.17 GB, free: 2.922 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.503e-05/0.2418, allocations: 112.5 kB / 1.17 GB, free: 2.805 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.392e-06/0.2418, allocations: 0 / 1.17 GB, free: 2.805 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.152e-05/0.2419, allocations: 69.02 kB / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.242, allocations: 3.938 kB / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.242, allocations: 0 / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-06/0.242, allocations: 4 kB / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/0.2421, allocations: 157.7 kB / 1.17 GB, free: 2.516 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.2421, allocations: 0 / 1.17 GB, free: 2.516 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.741e-05/0.2421, allocations: 4 kB / 1.17 GB, free: 2.512 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.2421, allocations: 0 / 1.17 GB, free: 2.512 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.2422, allocations: 7.938 kB / 1.17 GB, free: 2.504 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2422, allocations: 3.938 kB / 1.17 GB, free: 2.5 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.2422, allocations: 0 / 1.17 GB, free: 2.5 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.404e-05/0.2423, allocations: 69.12 kB / 1.17 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.411e-05/0.2423, allocations: 89.08 kB / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-06/0.2423, allocations: 3.938 kB / 1.171 GB, free: 2.305 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.049e-05/0.2423, allocations: 4 kB / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.634e-06/0.2423, allocations: 0 / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.2424, allocations: 0 / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of sorting global known variables: time 2.777e-05/0.2424, allocations: 83.22 kB / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of sort global known variables: time 9e-08/0.2424, allocations: 0 / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002114/0.2426, allocations: 43.86 kB / 1.171 GB, free: 2.176 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.0005149/0.2431, allocations: 0.6827 MB / 1.171 GB, free: 1.461 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 6.656e-05/0.2432, allocations: 19.94 kB / 1.171 GB, free: 1.441 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.2432, allocations: 0 / 1.171 GB, free: 1.441 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-05/0.2432, allocations: 8.078 kB / 1.171 GB, free: 1.434 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001069/0.2433, allocations: 10.78 kB / 1.171 GB, free: 1.426 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008116/0.2442, allocations: 1.119 MB / 1.173 GB, free: 224 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.2444, allocations: 0.6729 MB / 1.173 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.492e-05/0.2444, allocations: 4 kB / 1.173 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.792e-05/0.2445, allocations: 7.438 kB / 1.173 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of SimCode: time 2.71e-07/0.2445, allocations: 7.875 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6444/0.8889, allocations: 2.107 MB / 1.175 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.59/14.48, allocations: 9.984 kB / 1.175 GB, free: 13.47 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=400 --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