Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 110 kB / 16.37 MB, free: 6.469 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.001756/0.001757, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.565/2.565, allocations: 442.6 MB / 0.7165 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 68.14 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3123, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002045/0.3144, allocations: 0.7117 MB / 1.027 GB, free: 1.355 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008345/0.3152, allocations: 0.814 MB / 1.028 GB, free: 0.5312 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.597e-05/0.3153, allocations: 0 / 1.028 GB, free: 0.5312 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.011e-05/0.3153, allocations: 0 / 1.028 GB, free: 0.5312 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.236e-05/0.3154, allocations: 11.88 kB / 1.028 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000106/0.3155, allocations: 15.98 kB / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.273e-05/0.3156, allocations: 43.89 kB / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.3157, allocations: 8 kB / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.009e-05/0.3158, allocations: 19.92 kB / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.119e-05/0.3158, allocations: 19.92 kB / 1.028 GB, free: 424 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.3159, allocations: 4 kB / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.242e-05/0.3159, allocations: 4 kB / 1.028 GB, free: 416 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.823e-05/0.3159, allocations: 11.98 kB / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.205e-05/0.3159, allocations: 19.86 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.214e-05/0.316, allocations: 43.8 kB / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.316, allocations: 0 / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.874e-06/0.316, allocations: 0 / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.316, allocations: 0 / 1.028 GB, free: 340 kB / 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.0004983/0.3165, allocations: 363.4 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.3166, allocations: 12.03 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.3166, allocations: 8.844 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.3167, allocations: 172.3 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.3167, allocations: 384 / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.3168, allocations: 4.375 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.317, allocations: 66.22 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.317, allocations: 192 / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.317, allocations: 3.938 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.317, allocations: 3.938 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002696/0.3173, allocations: 75.84 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003235/0.3177, allocations: 264.9 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.3179, allocations: 58.48 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.318, allocations: 48.84 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.318, allocations: 0 / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.3181, allocations: 30.56 kB / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.3181, allocations: 0 / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004844/0.3186, allocations: 133.5 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.3186, allocations: 51.41 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.816e-05/0.3187, allocations: 113.8 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.3187, allocations: 25.7 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.919e-05/0.3188, allocations: 84.14 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.3188, allocations: 15.81 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.3188, allocations: 17.7 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.319, allocations: 314.8 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.3191, allocations: 27.97 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.3192, allocations: 35.95 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.3195, allocations: 72.72 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.3195, allocations: 3.938 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002807/0.3198, allocations: 97.62 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3198, allocations: 8 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3198, allocations: 0 / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.3198, allocations: 0 / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.3199, allocations: 19.98 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.3199, allocations: 0 / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.101e-05/0.32, allocations: 11.97 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.32, allocations: 4 kB / 1.03 GB, free: 14 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 (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 7.482e-05/0.3201, allocations: 113.7 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.3201, allocations: 7.906 kB / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003368/0.3205, allocations: 109.5 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.3205, allocations: 4 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.3205, allocations: 0 / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3205, allocations: 0 / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.3207, allocations: 173.6 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.3207, allocations: 3.984 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.202e-05/0.3208, allocations: 19.92 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.3208, allocations: 4 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.3208, allocations: 4 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3208, allocations: 0 / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3208, allocations: 0 / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003423/0.3212, allocations: 203.7 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.278e-05/0.3212, allocations: 84.95 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.3213, allocations: 8 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.967e-05/0.3214, allocations: 7.984 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.387e-05/0.3214, allocations: 11.98 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.3214, allocations: 3.938 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.818e-05/0.3215, allocations: 83.28 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3215, allocations: 0 / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002143/0.3217, allocations: 8 kB / 1.031 GB, free: 13.06 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 (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.0001624/0.3219, allocations: 103.2 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003142/0.3222, allocations: 67.91 kB / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3222, allocations: 0 / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.3223, allocations: 39.91 kB / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.3226, allocations: 11.94 kB / 1.032 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003192/0.3229, allocations: 125.5 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/0.3234, allocations: 0.6807 MB / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.558e-05/0.3234, allocations: 0 / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/0.3234, allocations: 11.44 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of SimCode: time 2e-07/0.3234, allocations: 0 / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of Templates: time 0.003109/0.3266, allocations: 0.6781 MB / 1.033 GB, free: 11.29 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches