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.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.001491/0.001491, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001667/0.001667, allocations: 221.2 kB / 23.03 MB, free: 4.945 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.403/1.403, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.126/3.126, allocations: 0.5003 GB / 0.8062 GB, free: 28.25 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve,fileNamePrefix="Buildings_latest_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.002066/0.002066, allocations: 69.38 kB / 1.17 GB, free: 19.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3304, allocations: 179 MB / 1.345 GB, free: 15.92 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.002049/0.3324, allocations: 0.5328 MB / 1.346 GB, free: 15.39 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.3337, allocations: 0.5845 MB / 1.346 GB, free: 14.8 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.448e-05/0.3337, allocations: 0 / 1.346 GB, free: 14.8 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.671e-05/0.3337, allocations: 0 / 1.346 GB, free: 14.8 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.362e-06/0.3337, allocations: 0 / 1.346 GB, free: 14.8 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006837/0.3344, allocations: 183.4 kB / 1.347 GB, free: 14.62 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 4.161e-05/0.3344, allocations: 3.984 kB / 1.347 GB, free: 14.62 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.351e-05/0.3345, allocations: 4 kB / 1.347 GB, free: 14.62 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.265e-05/0.3345, allocations: 0 / 1.347 GB, free: 14.62 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 1.656e-05/0.3345, allocations: 0 / 1.347 GB, free: 14.62 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.816e-06/0.3345, allocations: 7.938 kB / 1.347 GB, free: 14.61 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003728/0.3349, allocations: 207.7 kB / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.087e-05/0.3349, allocations: 3.984 kB / 1.347 GB, free: 14.4 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.578e-05/0.3349, allocations: 7.938 kB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.3351, allocations: 127.9 kB / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3351, allocations: 0 / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3351, allocations: 0 / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.3351, allocations: 0 / 1.347 GB, free: 14.27 MB / 1.045 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.0004018/0.3355, allocations: 278.1 kB / 1.347 GB, free: 13.96 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.3356, allocations: 8.031 kB / 1.347 GB, free: 13.96 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.372e-05/0.3356, allocations: 192 / 1.347 GB, free: 13.96 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.047e-05/0.3356, allocations: 38.75 kB / 1.347 GB, free: 13.91 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.463e-05/0.3357, allocations: 8.828 kB / 1.347 GB, free: 13.9 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.945e-05/0.3357, allocations: 106.5 kB / 1.347 GB, free: 13.77 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.573e-06/0.3358, allocations: 4.375 kB / 1.347 GB, free: 13.77 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.3358, allocations: 4.375 kB / 1.347 GB, free: 13.77 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.3359, allocations: 41.98 kB / 1.347 GB, free: 13.72 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.3359, allocations: 0 / 1.347 GB, free: 13.72 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.3359, allocations: 4 kB / 1.347 GB, free: 13.71 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3359, allocations: 3.938 kB / 1.347 GB, free: 13.71 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.751e-05/0.3359, allocations: 7.984 kB / 1.347 GB, free: 13.7 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003007/0.3362, allocations: 128.7 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 7.901e-05/0.3363, allocations: 30.61 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.13e-05/0.3363, allocations: 8.859 kB / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006709/0.337, allocations: 88.02 kB / 1.348 GB, free: 13.4 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.337, allocations: 38.5 kB / 1.348 GB, free: 13.35 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.337, allocations: 3.938 kB / 1.348 GB, free: 13.35 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0001615/0.3372, allocations: 45.69 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.3372, allocations: 55.41 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.623e-05/0.3373, allocations: 89.86 kB / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.3373, allocations: 25.7 kB / 1.348 GB, free: 13.1 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.502e-05/0.3373, allocations: 84.08 kB / 1.348 GB, free: 13.02 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/0.3374, allocations: 19.88 kB / 1.348 GB, free: 13 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.3374, allocations: 13.72 kB / 1.348 GB, free: 12.98 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3376, allocations: 318.8 kB / 1.348 GB, free: 12.66 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.453e-05/0.3376, allocations: 0 / 1.348 GB, free: 12.66 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.816e-05/0.3376, allocations: 17.7 kB / 1.348 GB, free: 12.63 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.557e-05/0.3377, allocations: 33.66 kB / 1.348 GB, free: 12.59 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3377, allocations: 0 / 1.348 GB, free: 12.59 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.712e-05/0.3377, allocations: 49.62 kB / 1.348 GB, free: 12.54 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.3377, allocations: 7.938 kB / 1.348 GB, free: 12.53 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3378, allocations: 0 / 1.348 GB, free: 12.53 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.3378, allocations: 4 kB / 1.348 GB, free: 12.53 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.357e-05/0.3378, allocations: 8 kB / 1.348 GB, free: 12.52 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.3378, allocations: 7.922 kB / 1.348 GB, free: 12.51 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.432e-05/0.3378, allocations: 4 kB / 1.348 GB, free: 12.51 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.3378, allocations: 32 / 1.348 GB, free: 12.51 MB / 1.045 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 7.558e-05/0.3379, allocations: 109.8 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.391e-05/0.3379, allocations: 7.938 kB / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.338, allocations: 49.16 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.338, allocations: 384 / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.338, allocations: 0 / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.338, allocations: 0 / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.3382, allocations: 128.8 kB / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3382, allocations: 0 / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.206e-05/0.3382, allocations: 4 kB / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.3382, allocations: 7.922 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.3382, allocations: 4 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.3382, allocations: 4 kB / 1.349 GB, free: 12.13 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3382, allocations: 0 / 1.349 GB, free: 12.13 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.3383, allocations: 77.11 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.033e-05/0.3384, allocations: 7.984 kB / 1.349 GB, free: 12.03 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.3384, allocations: 3.938 kB / 1.349 GB, free: 12.03 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.003e-05/0.3384, allocations: 3.938 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.493e-05/0.3384, allocations: 0 / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.3384, allocations: 0 / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.502e-05/0.3384, allocations: 79.28 kB / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3384, allocations: 0 / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002587/0.3387, allocations: 59.8 kB / 1.349 GB, free: 11.89 MB / 1.045 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.0006234/0.3393, allocations: 0.6826 MB / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.302e-05/0.3394, allocations: 19.92 kB / 1.35 GB, free: 11.15 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3394, allocations: 0 / 1.35 GB, free: 11.15 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.173e-05/0.3394, allocations: 7.938 kB / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.3395, allocations: 4 kB / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.3405, allocations: 1.116 MB / 1.351 GB, free: 9.938 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.49e-05/0.3406, allocations: 63.47 kB / 1.351 GB, free: 9.855 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.731e-05/0.3406, allocations: 4 kB / 1.351 GB, free: 9.852 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.757e-05/0.3406, allocations: 11.44 kB / 1.351 GB, free: 9.84 MB / 1.045 GB Notification: Performance of SimCode: time 4.61e-07/0.3406, allocations: 0 / 1.351 GB, free: 9.84 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0242/0.3648, allocations: 2.332 MB / 1.353 GB, free: 7.652 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.31, allocations: 14.22 kB / 1.353 GB, free: 7.648 MB / 1.045 GB " [Timeout remaining time 289] (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 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve.fmu > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.869395738933235]