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.007609/0.007609, allocations: 100.9 kB / 15.87 MB, free: 5.863 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.00149/0.001491, allocations: 189.9 kB / 16.79 MB, free: 5.805 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.381/1.381, allocations: 222.9 MB / 240.5 MB, free: 4.574 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.463/2.463, allocations: 390.2 MB / 0.6649 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 71.89 kB / 0.8125 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7945/0.796, allocations: 140.3 MB / 0.9496 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Min): time 0.002079/0.7981, allocations: 0.7679 MB / 0.9504 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008375/0.799, allocations: 0.8018 MB / 0.9511 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.859e-05/0.799, allocations: 1.094 kB / 0.9511 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.762e-05/0.7991, allocations: 0 / 0.9511 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.709e-05/0.7992, allocations: 13.14 kB / 0.9512 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001024/0.7993, allocations: 9.016 kB / 0.9512 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.668e-05/0.7994, allocations: 41.33 kB / 0.9512 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.7995, allocations: 16.61 kB / 0.9512 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.041e-05/0.7996, allocations: 17.77 kB / 0.9512 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.329e-05/0.7997, allocations: 17.61 kB / 0.9512 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.7997, allocations: 7.094 kB / 0.9513 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.532e-05/0.7997, allocations: 2.344 kB / 0.9513 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.062e-05/0.7997, allocations: 7.922 kB / 0.9513 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.55e-05/0.7998, allocations: 16.44 kB / 0.9513 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.967e-05/0.7998, allocations: 28.95 kB / 0.9513 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.7999, allocations: 1.312 kB / 0.9513 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.02e-07/0.7999, allocations: 4 kB / 0.9513 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.7999, allocations: 0 / 0.9513 GB, free: 7.758 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.0005338/0.8004, allocations: 366.2 kB / 0.9517 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.8005, allocations: 9.5 kB / 0.9517 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.8005, allocations: 5.906 kB / 0.9517 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.63e-05/0.8006, allocations: 171.6 kB / 0.9518 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.8006, allocations: 5.594 kB / 0.9518 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.8006, allocations: 1.75 kB / 0.9518 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.8009, allocations: 70.84 kB / 0.9519 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.537e-06/0.8009, allocations: 5.406 kB / 0.9519 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.8009, allocations: 3.938 kB / 0.9519 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.8009, allocations: 1.188 kB / 0.9519 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00029/0.8012, allocations: 62.42 kB / 0.952 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003546/0.8016, allocations: 267.5 kB / 0.9522 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.8018, allocations: 57.38 kB / 0.9523 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.802, allocations: 35.11 kB / 0.9523 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.802, allocations: 7.938 kB / 0.9523 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.802, allocations: 35.62 kB / 0.9524 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.802, allocations: 0 / 0.9524 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005436/0.8026, allocations: 130.1 kB / 0.9525 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.8026, allocations: 56.53 kB / 0.9525 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.627e-05/0.8027, allocations: 107.9 kB / 0.9527 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.8027, allocations: 25.7 kB / 0.9527 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.799e-05/0.8027, allocations: 86.48 kB / 0.9528 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.8028, allocations: 8.969 kB / 0.9528 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.8028, allocations: 20.58 kB / 0.9528 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.19e-05/0.8029, allocations: 312.3 kB / 0.9531 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.803, allocations: 37.22 kB / 0.9531 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.8032, allocations: 37.62 kB / 0.9532 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002797/0.8035, allocations: 67.12 kB / 0.9532 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.8035, allocations: 3.938 kB / 0.9532 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003172/0.8038, allocations: 102.1 kB / 0.9533 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.8038, allocations: 5.438 kB / 0.9533 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.8038, allocations: 0 / 0.9533 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.8038, allocations: 0 / 0.9533 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.804, allocations: 15.39 kB / 0.9533 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.804, allocations: 7.922 kB / 0.9533 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.407e-05/0.8041, allocations: 14.52 kB / 0.9534 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.8041, allocations: 5.531 kB / 0.9534 GB, free: 5.785 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 6.991e-05/0.8042, allocations: 116.7 kB / 0.9535 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.8042, allocations: 5.031 kB / 0.9535 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003587/0.8046, allocations: 104.8 kB / 0.9536 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.8046, allocations: 4 kB / 0.9536 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.8046, allocations: 1.438 kB / 0.9536 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.8046, allocations: 0 / 0.9536 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.8048, allocations: 176.9 kB / 0.9538 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.8048, allocations: 0 / 0.9538 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.53e-05/0.8049, allocations: 14.48 kB / 0.9538 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.8049, allocations: 6 kB / 0.9538 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.8049, allocations: 0 / 0.9538 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.8049, allocations: 0 / 0.9538 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.8049, allocations: 3.938 kB / 0.9538 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003344/0.8052, allocations: 204.9 kB / 0.954 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.546e-05/0.8053, allocations: 78.17 kB / 0.9541 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.8053, allocations: 1.094 kB / 0.9541 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.8054, allocations: 10.61 kB / 0.9541 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/0.8055, allocations: 10.27 kB / 0.9541 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.247e-06/0.8055, allocations: 0 / 0.9541 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.219e-05/0.8055, allocations: 86.09 kB / 0.9542 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8055, allocations: 0 / 0.9542 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002158/0.8057, allocations: 6.656 kB / 0.9542 GB, free: 4.996 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.0001378/0.8059, allocations: 101.9 kB / 0.9543 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003319/0.8062, allocations: 74.86 kB / 0.9543 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8062, allocations: 0 / 0.9543 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.8064, allocations: 37.59 kB / 0.9544 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.8067, allocations: 11.02 kB / 0.9544 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003258/0.8071, allocations: 164 kB / 0.9545 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001474/0.8072, allocations: 0.6795 MB / 0.9552 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.707e-05/0.8073, allocations: 9.938 kB / 0.9552 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.8073, allocations: 0 / 0.9552 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of Templates: time 0.002146/0.8094, allocations: 0.7315 MB / 0.9559 GB, free: 3.605 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