Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01056/0.01056, allocations: 100.7 kB / 15.73 MB, free: 6.043 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.001695/0.001695, allocations: 200.2 kB / 16.67 MB, free: 5.98 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.483/1.483, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.59/2.59, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 73.53 kB / 0.9509 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3893, allocations: 140.4 MB / 1.088 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Min): time 0.002435/0.3917, allocations: 0.6981 MB / 1.089 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.3932, allocations: 0.8083 MB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.464e-05/0.3933, allocations: 0 / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.104e-05/0.3933, allocations: 3.938 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001436/0.3936, allocations: 3.938 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001662/0.3937, allocations: 11.98 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.3939, allocations: 47.84 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.394, allocations: 12 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.386e-05/0.3941, allocations: 15.92 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.933e-05/0.3942, allocations: 31.89 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.808e-05/0.3942, allocations: 7.938 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.527e-05/0.3942, allocations: 4 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.317e-05/0.3943, allocations: 4 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.366e-05/0.3943, allocations: 15.92 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.3945, allocations: 39.81 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.3945, allocations: 0 / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3945, allocations: 4 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.3945, allocations: 0 / 1.09 GB, free: 15.75 MB / 0.8575 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.0006068/0.3951, allocations: 363.4 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.3952, allocations: 8.031 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/0.3952, allocations: 8.844 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.3954, allocations: 176.3 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.3954, allocations: 8.312 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.3954, allocations: 384 / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.3957, allocations: 74.16 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.3958, allocations: 4.188 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.3958, allocations: 3.938 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.3958, allocations: 0 / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.3961, allocations: 63.92 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004494/0.3965, allocations: 268.9 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.3968, allocations: 58.47 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.3969, allocations: 40.86 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.3969, allocations: 4 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.397, allocations: 34.56 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.397, allocations: 0 / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005328/0.3975, allocations: 125.6 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.3976, allocations: 55.41 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.1e-05/0.3977, allocations: 109.8 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.3977, allocations: 25.7 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.493e-05/0.3978, allocations: 84.14 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.3978, allocations: 15.8 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.3978, allocations: 13.72 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.398, allocations: 318.8 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.3981, allocations: 35.95 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.3983, allocations: 27.97 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002952/0.3986, allocations: 72.72 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.3986, allocations: 7.938 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003135/0.3989, allocations: 97.62 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3989, allocations: 4 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3989, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.399, allocations: 4 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.3991, allocations: 15.97 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.3992, allocations: 3.938 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.423e-05/0.3993, allocations: 19.98 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.3993, allocations: 0 / 1.092 GB, free: 13.42 MB / 0.8575 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.634e-05/0.3994, allocations: 113.8 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.3994, allocations: 3.906 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000357/0.3998, allocations: 105.8 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.3998, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3998, allocations: 4.047 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.3998, allocations: 3.984 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/0.4, allocations: 177.5 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4001, allocations: 0 / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.944e-05/0.4002, allocations: 15.98 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.4002, allocations: 3.938 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.4002, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.4002, allocations: 3.938 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4002, allocations: 4 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003561/0.4006, allocations: 199.4 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.472e-05/0.4006, allocations: 81.02 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.4006, allocations: 0 / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.4008, allocations: 11.98 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/0.4008, allocations: 11.98 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.4008, allocations: 4 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.287e-05/0.4009, allocations: 79.28 kB / 1.092 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4009, allocations: 0 / 1.092 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002415/0.4011, allocations: 8 kB / 1.093 GB, free: 12.5 MB / 0.8575 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.0001592/0.4013, allocations: 107.8 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003321/0.4016, allocations: 71.86 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4017, allocations: 0 / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.4018, allocations: 35.97 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.4022, allocations: 11.86 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003879/0.4026, allocations: 125.6 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.4029, allocations: 0.6846 MB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.018e-05/0.4029, allocations: 0 / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.811e-05/0.403, allocations: 11.44 kB / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of SimCode: time 1.91e-07/0.403, allocations: 0 / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of Templates: time 0.004144/0.4071, allocations: 0.7185 MB / 1.094 GB, free: 10.69 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches