Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 108.2 kB / 16.27 MB, free: 6.004 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.001832/0.001833, allocations: 187.4 kB / 17.2 MB, free: 5.617 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.415/1.415, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.523/2.523, allocations: 437.1 MB / 0.7111 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 77.66 kB / 0.8699 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3141, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001961/0.3161, allocations: 0.7004 MB / 1.019 GB, free: 9.934 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009672/0.3171, allocations: 0.8078 MB / 1.019 GB, free: 9.113 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.647e-05/0.3172, allocations: 0 / 1.019 GB, free: 9.113 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.559e-05/0.3172, allocations: 3.938 kB / 1.019 GB, free: 9.109 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.934e-05/0.3173, allocations: 7.938 kB / 1.019 GB, free: 9.102 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 8.842e-05/0.3174, allocations: 11.98 kB / 1.02 GB, free: 9.09 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.044e-05/0.3175, allocations: 47.86 kB / 1.02 GB, free: 9.043 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.3176, allocations: 15.97 kB / 1.02 GB, free: 9.027 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.25e-05/0.3177, allocations: 15.92 kB / 1.02 GB, free: 9.012 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.962e-05/0.3177, allocations: 27.86 kB / 1.02 GB, free: 8.984 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.3177, allocations: 4 kB / 1.02 GB, free: 8.98 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.166e-05/0.3178, allocations: 0 / 1.02 GB, free: 8.98 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.825e-05/0.3178, allocations: 11.98 kB / 1.02 GB, free: 8.969 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.956e-05/0.3178, allocations: 11.94 kB / 1.02 GB, free: 8.957 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.692e-05/0.3179, allocations: 47.8 kB / 1.02 GB, free: 8.91 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.3179, allocations: 4 kB / 1.02 GB, free: 8.906 MB / 0.795 GB Notification: Performance of FrontEnd: time 9.82e-07/0.3179, allocations: 0 / 1.02 GB, free: 8.906 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.3179, allocations: 0 / 1.02 GB, free: 8.906 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005798/0.3185, allocations: 367.6 kB / 1.02 GB, free: 8.496 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.3186, allocations: 12.86 kB / 1.02 GB, free: 8.484 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.67e-05/0.3186, allocations: 4.938 kB / 1.02 GB, free: 8.48 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.3188, allocations: 168.2 kB / 1.02 GB, free: 8.277 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.3188, allocations: 4.375 kB / 1.02 GB, free: 8.273 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.3188, allocations: 4.375 kB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002855/0.3191, allocations: 70.2 kB / 1.02 GB, free: 8.195 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.3192, allocations: 192 / 1.02 GB, free: 8.195 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.3192, allocations: 3.938 kB / 1.02 GB, free: 8.191 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.3192, allocations: 4 kB / 1.02 GB, free: 8.188 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003001/0.3195, allocations: 63.88 kB / 1.02 GB, free: 8.125 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004061/0.3199, allocations: 265 kB / 1.021 GB, free: 7.816 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/0.3201, allocations: 62.47 kB / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.3203, allocations: 36.92 kB / 1.021 GB, free: 7.707 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.3203, allocations: 3.984 kB / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.3204, allocations: 38.5 kB / 1.021 GB, free: 7.656 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.3204, allocations: 0 / 1.021 GB, free: 7.656 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0005525/0.3209, allocations: 129.5 kB / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.321, allocations: 51.41 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.068e-05/0.3211, allocations: 109.8 kB / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.3211, allocations: 25.7 kB / 1.021 GB, free: 7.312 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.126e-05/0.3212, allocations: 92.12 kB / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.3212, allocations: 11.81 kB / 1.021 GB, free: 7.207 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/0.3212, allocations: 13.72 kB / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.3214, allocations: 318.8 kB / 1.021 GB, free: 6.867 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.3216, allocations: 31.95 kB / 1.021 GB, free: 6.836 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.3217, allocations: 31.91 kB / 1.022 GB, free: 6.805 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/0.322, allocations: 72.78 kB / 1.022 GB, free: 6.73 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.322, allocations: 3.938 kB / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003282/0.3223, allocations: 101.6 kB / 1.022 GB, free: 6.621 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.3224, allocations: 6.656 kB / 1.022 GB, free: 6.617 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.3224, allocations: 0 / 1.022 GB, free: 6.617 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.3224, allocations: 4.312 kB / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.3225, allocations: 15.98 kB / 1.022 GB, free: 6.598 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.3226, allocations: 4 kB / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.9e-05/0.3226, allocations: 11.98 kB / 1.022 GB, free: 6.582 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.3227, allocations: 0 / 1.022 GB, free: 6.582 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 prepare postOptimizeDAE: time 8.782e-05/0.3227, allocations: 118.4 kB / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.3228, allocations: 11.89 kB / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003811/0.3232, allocations: 105.5 kB / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.3232, allocations: 3.984 kB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3232, allocations: 0 / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.3232, allocations: 0 / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.3234, allocations: 173.5 kB / 1.022 GB, free: 6.109 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3234, allocations: 4 kB / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.799e-05/0.3235, allocations: 15.98 kB / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3235, allocations: 0 / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.3235, allocations: 0 / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3235, allocations: 7.984 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3235, allocations: 0 / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000392/0.3239, allocations: 199.4 kB / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.898e-05/0.324, allocations: 84.95 kB / 1.022 GB, free: 5.77 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.324, allocations: 0 / 1.022 GB, free: 5.77 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.3241, allocations: 19.97 kB / 1.022 GB, free: 5.75 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.3242, allocations: 4 kB / 1.022 GB, free: 5.746 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.3242, allocations: 0 / 1.022 GB, free: 5.746 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.108e-05/0.3243, allocations: 91.25 kB / 1.023 GB, free: 5.656 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3243, allocations: 0 / 1.023 GB, free: 5.656 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002184/0.3245, allocations: 12 kB / 1.023 GB, free: 5.645 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 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.0001376/0.3246, allocations: 95.25 kB / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003625/0.325, allocations: 75.86 kB / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.325, allocations: 0 / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.3252, allocations: 35.95 kB / 1.023 GB, free: 5.43 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.3255, allocations: 11.94 kB / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003324/0.3258, allocations: 155.2 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.3261, allocations: 0.6807 MB / 1.024 GB, free: 4.527 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.3262, allocations: 7.438 kB / 1.024 GB, free: 4.52 MB / 0.795 GB Notification: Performance of SimCode: time 2.61e-07/0.3262, allocations: 0 / 1.024 GB, free: 4.52 MB / 0.795 GB Notification: Performance of Templates: time 0.002159/0.3283, allocations: 0.7478 MB / 1.024 GB, free: 3.777 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches