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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009076/0.0009073, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 185.1 kB / 16.92 MB, free: 6.684 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.394/1.394, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.479/2.479, allocations: 390.9 MB / 0.667 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004559/0.0004562, allocations: 8 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7868/0.7873, allocations: 142.4 MB / 0.9557 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Min): time 0.0007995/0.7881, allocations: 452.5 kB / 0.9561 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007188/0.7889, allocations: 0.8052 MB / 0.9569 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.357e-05/0.7889, allocations: 0 / 0.9569 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.483e-05/0.7889, allocations: 1.219 kB / 0.9569 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.763e-05/0.789, allocations: 3.938 kB / 0.9569 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.684e-05/0.7891, allocations: 10.42 kB / 0.957 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.579e-05/0.7892, allocations: 40.64 kB / 0.957 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.7893, allocations: 12.2 kB / 0.957 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.41e-05/0.7894, allocations: 17.94 kB / 0.957 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.723e-05/0.7894, allocations: 17.38 kB / 0.957 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.887e-05/0.7895, allocations: 1.406 kB / 0.957 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.266e-05/0.7895, allocations: 2.406 kB / 0.957 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.999e-05/0.7895, allocations: 13.27 kB / 0.9571 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.595e-05/0.7896, allocations: 40.25 kB / 0.9571 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.843e-05/0.7896, allocations: 25.97 kB / 0.9571 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.7896, allocations: 0 / 0.9571 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.904e-06/0.7896, allocations: 1 kB / 0.9571 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.283e-06/0.7896, allocations: 0 / 0.9571 GB, free: 6.562 MB / 0.7169 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.0004255/0.7901, allocations: 371.6 kB / 0.9575 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.7901, allocations: 9.156 kB / 0.9575 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.913e-05/0.7902, allocations: 7.688 kB / 0.9575 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.225e-05/0.7902, allocations: 171.2 kB / 0.9576 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.7903, allocations: 1.719 kB / 0.9577 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.7903, allocations: 5.625 kB / 0.9577 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/0.7905, allocations: 80.84 kB / 0.9577 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.7906, allocations: 192 / 0.9577 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.7906, allocations: 4.969 kB / 0.9577 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.7906, allocations: 1.094 kB / 0.9577 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003217/0.7909, allocations: 90.31 kB / 0.9578 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002902/0.7912, allocations: 266.4 kB / 0.9581 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.7914, allocations: 70.83 kB / 0.9581 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/0.7916, allocations: 57.06 kB / 0.9582 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.7916, allocations: 1.344 kB / 0.9582 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.7916, allocations: 31.75 kB / 0.9582 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.7917, allocations: 4 kB / 0.9582 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005681/0.7922, allocations: 158.9 kB / 0.9584 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.7923, allocations: 52.56 kB / 0.9584 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.069e-05/0.7923, allocations: 115.2 kB / 0.9585 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.755e-06/0.7923, allocations: 25.7 kB / 0.9586 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.493e-05/0.7924, allocations: 94.86 kB / 0.9587 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.7924, allocations: 13.17 kB / 0.9587 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.067e-05/0.7924, allocations: 13.72 kB / 0.9587 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.596e-05/0.7925, allocations: 320.1 kB / 0.959 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.7926, allocations: 43.72 kB / 0.959 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.7928, allocations: 43.3 kB / 0.9591 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002897/0.7931, allocations: 90.56 kB / 0.9592 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.7931, allocations: 3.938 kB / 0.9592 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003295/0.7934, allocations: 117.8 kB / 0.9593 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.7935, allocations: 4.5 kB / 0.9593 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.7935, allocations: 5.375 kB / 0.9593 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.7935, allocations: 0 / 0.9593 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.7936, allocations: 23.27 kB / 0.9593 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.7936, allocations: 0 / 0.9593 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.517e-05/0.7937, allocations: 20.44 kB / 0.9593 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-06/0.7937, allocations: 1 kB / 0.9593 GB, free: 4.57 MB / 0.7169 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 5.083e-05/0.7938, allocations: 119.1 kB / 0.9594 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.7938, allocations: 7.094 kB / 0.9595 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003724/0.7942, allocations: 127 kB / 0.9596 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.7942, allocations: 1.812 kB / 0.9596 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.7942, allocations: 0 / 0.9596 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.7942, allocations: 0 / 0.9596 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.7944, allocations: 168.8 kB / 0.9597 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.7944, allocations: 1.812 kB / 0.9597 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.907e-05/0.7945, allocations: 30.25 kB / 0.9598 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.7945, allocations: 0 / 0.9598 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.7945, allocations: 1.75 kB / 0.9598 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.604e-06/0.7945, allocations: 4 kB / 0.9598 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.7945, allocations: 3.938 kB / 0.9598 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003672/0.7949, allocations: 220.6 kB / 0.96 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.321e-05/0.7949, allocations: 86.5 kB / 0.9601 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.7949, allocations: 0 / 0.9601 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.7951, allocations: 20.36 kB / 0.9601 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.7951, allocations: 5.359 kB / 0.9601 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.7951, allocations: 1.375 kB / 0.9601 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.198e-05/0.7951, allocations: 86.16 kB / 0.9602 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7951, allocations: 0 / 0.9602 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002171/0.7954, allocations: 5.5 kB / 0.9602 GB, free: 3.77 MB / 0.7169 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.0001231/0.7955, allocations: 106.4 kB / 0.9603 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000362/0.7959, allocations: 89.67 kB / 0.9604 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7959, allocations: 0 / 0.9604 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.796, allocations: 46.2 kB / 0.9604 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.7963, allocations: 21.09 kB / 0.9604 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002898/0.7966, allocations: 152.4 kB / 0.9606 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.7968, allocations: 0.6876 MB / 0.9612 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.201e-05/0.7968, allocations: 10.19 kB / 0.9613 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of SimCode: time 8.32e-07/0.7968, allocations: 0 / 0.9613 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of Templates: time 0.002095/0.7989, allocations: 0.7276 MB / 0.962 GB, free: 2.379 MB / 0.7169 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/jenkins1/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