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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001174/0.001174, allocations: 111.3 kB / 15.34 MB, free: 0.5117 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.00119/0.00119, allocations: 186.1 kB / 16.25 MB, free: 6.141 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.202/1.202, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.484/2.484, allocations: 461.9 MB / 0.7344 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 72.84 kB / 0.8987 GB, free: 37.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2596, allocations: 157.4 MB / 1.052 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.001819/0.2615, allocations: 0.7417 MB / 1.053 GB, free: 7.887 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000836/0.2623, allocations: 0.8313 MB / 1.054 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.06e-05/0.2624, allocations: 4 kB / 1.054 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.874e-05/0.2624, allocations: 3.984 kB / 1.054 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.2e-05/0.2625, allocations: 3.938 kB / 1.054 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000128/0.2626, allocations: 8 kB / 1.054 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.678e-05/0.2627, allocations: 31.92 kB / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.676e-05/0.2628, allocations: 11.98 kB / 1.054 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.299e-05/0.2629, allocations: 11.94 kB / 1.054 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.281e-05/0.2629, allocations: 19.91 kB / 1.054 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.2629, allocations: 4 kB / 1.054 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.038e-05/0.2629, allocations: 4 kB / 1.054 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.744e-05/0.263, allocations: 7.984 kB / 1.054 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.685e-05/0.263, allocations: 15.94 kB / 1.054 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.961e-05/0.2631, allocations: 23.89 kB / 1.054 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2631, allocations: 0 / 1.054 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2631, allocations: 0 / 1.054 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.2631, allocations: 4 kB / 1.054 GB, free: 6.891 MB / 0.8106 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.0004915/0.2636, allocations: 359.7 kB / 1.054 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.2636, allocations: 12.62 kB / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.087e-05/0.2637, allocations: 38.69 kB / 1.055 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.365e-05/0.2637, allocations: 0.9375 kB / 1.055 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.2638, allocations: 164.4 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.2638, allocations: 4.359 kB / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.2638, allocations: 384 / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.264, allocations: 66.22 kB / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.2641, allocations: 3.938 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.2641, allocations: 0 / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2641, allocations: 0 / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002235/0.2643, allocations: 59.92 kB / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003662/0.2647, allocations: 280.8 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.2649, allocations: 58.47 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.265, allocations: 32.89 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.265, allocations: 11.94 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.2651, allocations: 38.5 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.083e-06/0.2651, allocations: 0 / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0004358/0.2655, allocations: 113.7 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.2656, allocations: 55.41 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.153e-05/0.2656, allocations: 105.8 kB / 1.055 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.2656, allocations: 25.7 kB / 1.055 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.842e-05/0.2657, allocations: 84.14 kB / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/0.2657, allocations: 7.906 kB / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.2657, allocations: 13.72 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.974e-05/0.2659, allocations: 314.8 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.266, allocations: 40.83 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.2661, allocations: 37.69 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/0.2663, allocations: 60.89 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/0.2663, allocations: 3.938 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002527/0.2666, allocations: 89.58 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.2666, allocations: 8 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.2666, allocations: 0 / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/0.2666, allocations: 0 / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.2668, allocations: 16.02 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.2668, allocations: 3.984 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.147e-05/0.2669, allocations: 15.92 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.2669, allocations: 0 / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001034/0.267, allocations: 100.1 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.292e-05/0.2671, allocations: 25.7 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000134/0.2672, allocations: 48.84 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.974e-06/0.2672, allocations: 3.984 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0001697/0.2674, allocations: 73.5 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.801e-06/0.2674, allocations: 4 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-06/0.2674, allocations: 0 / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.716e-06/0.2674, allocations: 4 kB / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.781e-05/0.2675, allocations: 8.031 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-06/0.2675, allocations: 0 / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.826e-05/0.2675, allocations: 11.98 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-06/0.2675, allocations: 0 / 1.056 GB, free: 4.27 MB / 0.8106 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 8.193e-05/0.2676, allocations: 184.2 kB / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.2676, allocations: 11.94 kB / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.377e-05/0.2677, allocations: 3.531 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.2677, allocations: 0 / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2677, allocations: 4 kB / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.2677, allocations: 0 / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.2679, allocations: 165.6 kB / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2679, allocations: 256 / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.612e-05/0.2679, allocations: 23.86 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.268, allocations: 0 / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.268, allocations: 0 / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.268, allocations: 4 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.268, allocations: 0 / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002993/0.2683, allocations: 191.3 kB / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.652e-05/0.2683, allocations: 81.11 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.2683, allocations: 0 / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.937e-05/0.2684, allocations: 11.98 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.2685, allocations: 8.016 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.2685, allocations: 0 / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.862e-05/0.2685, allocations: 83.28 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2685, allocations: 0 / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000261/0.2688, allocations: 8 kB / 1.057 GB, free: 3.414 MB / 0.8106 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.0006002/0.2694, allocations: 0.7202 MB / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000352/0.2698, allocations: 75.91 kB / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2698, allocations: 4.156 kB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.2699, allocations: 35.91 kB / 1.058 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.2702, allocations: 5.547 kB / 1.058 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004882/0.2707, allocations: 163.1 kB / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.271, allocations: 0.6807 MB / 1.059 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.154e-05/0.271, allocations: 4 kB / 1.059 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.03e-05/0.271, allocations: 11.44 kB / 1.059 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of SimCode: time 3.91e-07/0.2711, allocations: 0 / 1.059 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4433/0.7144, allocations: 1.322 MB / 1.06 GB, free: 436 kB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002006/0.7146, allocations: 209.1 kB / 1.06 GB, free: 176 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.627/2.342, allocations: 0 / 1.06 GB, free: 176 kB / 0.8106 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=50 --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