Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00194/0.00194, allocations: 117.1 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002044/0.002044, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.558/1.558, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.938/2.938, allocations: 476.7 MB / 0.7678 GB, free: 9.375 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve,fileNamePrefix="Buildings_11_Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve,fileNamePrefix="Buildings_11_Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 67.84 kB / 1.113 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026/1.028, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.001871/1.03, allocations: 0.5451 MB / 1.279 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001312/1.031, allocations: 0.6305 MB / 1.28 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.698e-05/1.031, allocations: 0 / 1.28 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.729e-05/1.031, allocations: 0 / 1.28 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.494e-06/1.031, allocations: 4 kB / 1.28 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008491/1.032, allocations: 173.5 kB / 1.28 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.176e-05/1.032, allocations: 9.219 kB / 1.28 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.787e-05/1.032, allocations: 2.094 kB / 1.28 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.815e-05/1.032, allocations: 5.219 kB / 1.28 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.243e-05/1.032, allocations: 2.688 kB / 1.28 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/1.032, allocations: 0 / 1.28 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004642/1.033, allocations: 204.4 kB / 1.28 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.231e-05/1.033, allocations: 5.875 kB / 1.28 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.382e-05/1.033, allocations: 5.062 kB / 1.28 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002734/1.033, allocations: 132.5 kB / 1.281 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/1.033, allocations: 1.969 kB / 1.281 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.533e-06/1.033, allocations: 0 / 1.281 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.26e-06/1.033, allocations: 0 / 1.281 GB, free: 10.79 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004179/1.034, allocations: 354.3 kB / 1.281 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/1.034, allocations: 9.594 kB / 1.281 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.514e-05/1.034, allocations: 1.344 kB / 1.281 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.723e-05/1.034, allocations: 39.39 kB / 1.281 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.278e-05/1.034, allocations: 2 kB / 1.281 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/1.034, allocations: 163 kB / 1.281 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/1.034, allocations: 384 / 1.281 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/1.034, allocations: 2.625 kB / 1.281 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/1.034, allocations: 43.77 kB / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/1.034, allocations: 1.891 kB / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/1.034, allocations: 0 / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/1.034, allocations: 0 / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.519e-05/1.034, allocations: 11.09 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000289/1.034, allocations: 157.4 kB / 1.281 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.193e-05/1.034, allocations: 29.94 kB / 1.281 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.17e-05/1.034, allocations: 8.562 kB / 1.281 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001012/1.035, allocations: 0.6871 MB / 1.282 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/1.035, allocations: 36.08 kB / 1.282 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/1.035, allocations: 0 / 1.282 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0001729/1.036, allocations: 49.42 kB / 1.282 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/1.036, allocations: 53.44 kB / 1.282 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.63e-05/1.036, allocations: 93.86 kB / 1.282 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/1.036, allocations: 26.64 kB / 1.282 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.937e-05/1.036, allocations: 80.14 kB / 1.282 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/1.036, allocations: 15.02 kB / 1.282 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/1.036, allocations: 14.17 kB / 1.282 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001539/1.036, allocations: 316.8 kB / 1.283 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.603e-05/1.036, allocations: 3.562 kB / 1.283 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.01e-05/1.036, allocations: 19.17 kB / 1.283 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.171e-05/1.036, allocations: 30.55 kB / 1.283 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.036, allocations: 1.406 kB / 1.283 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.57e-05/1.036, allocations: 45.91 kB / 1.283 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/1.036, allocations: 9.219 kB / 1.283 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/1.036, allocations: 0.625 kB / 1.283 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/1.036, allocations: 1.844 kB / 1.283 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.92e-05/1.036, allocations: 14.72 kB / 1.283 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/1.036, allocations: 0.5938 kB / 1.283 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.778e-05/1.036, allocations: 9.031 kB / 1.283 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/1.036, allocations: 5.891 kB / 1.283 GB, free: 8.324 MB / 0.9981 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 9.04e-05/1.036, allocations: 110.4 kB / 1.283 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/1.036, allocations: 12.89 kB / 1.283 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/1.037, allocations: 51.77 kB / 1.283 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/1.037, allocations: 1.156 kB / 1.283 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.037, allocations: 0.5 kB / 1.283 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.037, allocations: 0.5 kB / 1.283 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/1.037, allocations: 161.2 kB / 1.283 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/1.037, allocations: 4 kB / 1.283 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.652e-05/1.037, allocations: 5.875 kB / 1.283 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/1.037, allocations: 4.531 kB / 1.283 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/1.037, allocations: 0.5312 kB / 1.283 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/1.037, allocations: 1.391 kB / 1.283 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.037, allocations: 0.5312 kB / 1.283 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/1.037, allocations: 72.95 kB / 1.283 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/1.037, allocations: 82.53 kB / 1.283 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/1.037, allocations: 4.625 kB / 1.283 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.144e-05/1.037, allocations: 1.234 kB / 1.283 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.562e-05/1.037, allocations: 2.328 kB / 1.283 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/1.037, allocations: 1.359 kB / 1.283 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.478e-05/1.037, allocations: 75.94 kB / 1.283 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.037, allocations: 0 / 1.283 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003449/1.037, allocations: 56.84 kB / 1.283 GB, free: 7.676 MB / 0.9981 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.0007683/1.038, allocations: 0.6812 MB / 1.284 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00011/1.038, allocations: 20.02 kB / 1.284 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.038, allocations: 0.5 kB / 1.284 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.119e-05/1.038, allocations: 6.359 kB / 1.284 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/1.038, allocations: 4.281 kB / 1.284 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/1.039, allocations: 1.133 MB / 1.285 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/1.04, allocations: 0.6776 MB / 1.286 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.812e-05/1.04, allocations: 2.016 kB / 1.286 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.985e-05/1.04, allocations: 10.62 kB / 1.286 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/1.04, allocations: 3.938 kB / 1.286 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02241/1.062, allocations: 2.224 MB / 1.288 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.421/9.483, allocations: 8.547 kB / 1.288 GB, free: 4.715 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; mkfifo Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe >> ../files/Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve.fmu > Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.03784312098287]