Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Controls.OBC.CDL.Reals.Validation.Limiter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Limiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Limiter",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.00824/0.00824, allocations: 96.2 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.002315/0.002315, allocations: 200.9 kB / 16.68 MB, free: 5.969 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.633/2.633, allocations: 482.6 MB / 0.755 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 67.89 kB / 1.083 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2718, allocations: 162.3 MB / 1.242 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.001616/0.2734, allocations: 0.6779 MB / 1.243 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008625/0.2743, allocations: 0.8351 MB / 1.243 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.678e-05/0.2743, allocations: 0 / 1.243 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.205e-05/0.2744, allocations: 0 / 1.243 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.43e-05/0.2744, allocations: 3.938 kB / 1.243 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001202/0.2745, allocations: 15.92 kB / 1.243 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.877e-05/0.2746, allocations: 31.92 kB / 1.243 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.591e-05/0.2747, allocations: 4 kB / 1.243 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.106e-05/0.2747, allocations: 15.92 kB / 1.243 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.754e-05/0.2748, allocations: 31.91 kB / 1.243 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.2748, allocations: 0 / 1.243 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.049e-05/0.2748, allocations: 4 kB / 1.244 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.2749, allocations: 4 kB / 1.244 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.86e-05/0.2749, allocations: 19.92 kB / 1.244 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 7.76e-05/0.275, allocations: 35.88 kB / 1.244 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.275, allocations: 0 / 1.244 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.275, allocations: 0 / 1.244 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.275, allocations: 0 / 1.244 GB, free: 8.059 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.0004775/0.2755, allocations: 363.4 kB / 1.244 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.2755, allocations: 8.031 kB / 1.244 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.181e-05/0.2755, allocations: 30.75 kB / 1.244 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.798e-05/0.2756, allocations: 8.891 kB / 1.244 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.2757, allocations: 164.3 kB / 1.244 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.2757, allocations: 384 / 1.244 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.2757, allocations: 8.312 kB / 1.244 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.2759, allocations: 62.22 kB / 1.244 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2759, allocations: 7.938 kB / 1.244 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.283e-06/0.276, allocations: 0 / 1.244 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.276, allocations: 4 kB / 1.244 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002356/0.2762, allocations: 51.92 kB / 1.244 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003565/0.2766, allocations: 272.9 kB / 1.244 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.2768, allocations: 70.41 kB / 1.245 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.2769, allocations: 28.89 kB / 1.245 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.2769, allocations: 7.938 kB / 1.245 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.277, allocations: 34.56 kB / 1.245 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.277, allocations: 0 / 1.245 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0004513/0.2774, allocations: 117.5 kB / 1.245 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.2775, allocations: 51.41 kB / 1.245 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.21e-05/0.2776, allocations: 105.8 kB / 1.245 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.2776, allocations: 29.83 kB / 1.245 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.047e-05/0.2776, allocations: 84.14 kB / 1.245 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.2777, allocations: 7.938 kB / 1.245 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.2777, allocations: 13.72 kB / 1.245 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.2778, allocations: 314.8 kB / 1.245 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.2779, allocations: 32.83 kB / 1.245 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.2781, allocations: 45.69 kB / 1.245 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/0.2783, allocations: 56.8 kB / 1.245 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2783, allocations: 3.938 kB / 1.245 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002659/0.2786, allocations: 97.66 kB / 1.246 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.2786, allocations: 4 kB / 1.246 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.2786, allocations: 0 / 1.246 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.2786, allocations: 0 / 1.246 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.747e-05/0.2787, allocations: 11.98 kB / 1.246 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.2788, allocations: 4 kB / 1.246 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.27e-05/0.2788, allocations: 15.95 kB / 1.246 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.2788, allocations: 7.984 kB / 1.246 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001143/0.279, allocations: 96.12 kB / 1.246 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.183e-05/0.2791, allocations: 29.7 kB / 1.246 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001352/0.2792, allocations: 40.91 kB / 1.246 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.91e-07/0.2792, allocations: 4 kB / 1.246 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0001818/0.2794, allocations: 69.5 kB / 1.246 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.161e-06/0.2794, allocations: 8 kB / 1.246 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.12e-07/0.2794, allocations: 0 / 1.246 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-06/0.2794, allocations: 0 / 1.246 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.856e-05/0.2795, allocations: 7.984 kB / 1.246 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-06/0.2795, allocations: 4 kB / 1.246 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.734e-05/0.2795, allocations: 15.95 kB / 1.246 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-06/0.2795, allocations: 0 / 1.246 GB, free: 5.441 MB / 0.9981 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 (2): * Single equations (assignments): 2 * 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.079e-05/0.2796, allocations: 188.2 kB / 1.246 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.075e-05/0.2797, allocations: 3.938 kB / 1.246 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.509e-05/0.2797, allocations: 11.52 kB / 1.246 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.2797, allocations: 0 / 1.246 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.2797, allocations: 0 / 1.246 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.2797, allocations: 0 / 1.246 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.2799, allocations: 165.6 kB / 1.246 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.2799, allocations: 4.25 kB / 1.246 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.318e-05/0.28, allocations: 15.98 kB / 1.246 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.28, allocations: 4 kB / 1.246 GB, free: 5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.28, allocations: 0 / 1.246 GB, free: 5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.28, allocations: 0 / 1.246 GB, free: 5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.28, allocations: 0 / 1.246 GB, free: 5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/0.2803, allocations: 195.3 kB / 1.246 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.085e-05/0.2804, allocations: 77.11 kB / 1.246 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.2804, allocations: 4 kB / 1.246 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.597e-05/0.2805, allocations: 7.984 kB / 1.246 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.651e-05/0.2805, allocations: 0 / 1.246 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.2805, allocations: 4 kB / 1.247 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.293e-05/0.2806, allocations: 87.27 kB / 1.247 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2806, allocations: 4.031 kB / 1.247 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002521/0.2808, allocations: 8 kB / 1.247 GB, free: 4.586 MB / 0.9981 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 (2): * Single equations (assignments): 2 * 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.0006192/0.2814, allocations: 0.7168 MB / 1.247 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003502/0.2818, allocations: 79.92 kB / 1.247 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2818, allocations: 0 / 1.247 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.2819, allocations: 24.09 kB / 1.247 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.2822, allocations: 23.12 kB / 1.247 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004182/0.2826, allocations: 147.1 kB / 1.248 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.2829, allocations: 0.6807 MB / 1.248 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.317e-05/0.2829, allocations: 0 / 1.248 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.044e-05/0.283, allocations: 15.42 kB / 1.248 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.283, allocations: 8 kB / 1.248 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.589/0.872, allocations: 1.472 MB / 1.25 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/11.04, allocations: 7.25 kB / 1.25 GB, free: 1.422 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Limiter_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Limiter.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Limiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches