Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|feedback1.u1|feedback1.u2|feedback1.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|feedback1.u1|feedback1.u2|feedback1.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 106.2 kB / 16.36 MB, free: 6.289 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.001985/0.001985, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.197/2.197, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 63.08 kB / 0.814 GB, free: 32.67 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2955, allocations: 140.4 MB / 0.9511 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback): time 0.002287/0.2978, allocations: 0.71 MB / 0.9518 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.2989, allocations: 0.8061 MB / 0.9526 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.988e-05/0.2989, allocations: 4 kB / 0.9526 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.532e-05/0.299, allocations: 3.938 kB / 0.9526 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.925e-05/0.2991, allocations: 7.922 kB / 0.9526 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.195e-05/0.2991, allocations: 7.984 kB / 0.9526 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.754e-05/0.2992, allocations: 39.86 kB / 0.9527 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.2994, allocations: 15.98 kB / 0.9527 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.728e-05/0.2994, allocations: 19.92 kB / 0.9527 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.566e-05/0.2995, allocations: 19.92 kB / 0.9527 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.2995, allocations: 4 kB / 0.9527 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.135e-05/0.2995, allocations: 4 kB / 0.9527 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.225e-05/0.2996, allocations: 15.92 kB / 0.9528 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.942e-05/0.2996, allocations: 15.88 kB / 0.9528 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.867e-05/0.2997, allocations: 43.86 kB / 0.9528 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2997, allocations: 0 / 0.9528 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2997, allocations: 0 / 0.9528 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.2997, allocations: 4 kB / 0.9528 GB, free: 6.301 MB / 0.7325 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.0005347/0.3003, allocations: 367.3 kB / 0.9532 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.3003, allocations: 11.97 kB / 0.9532 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.222e-05/0.3003, allocations: 4.938 kB / 0.9532 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.3005, allocations: 176.2 kB / 0.9534 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-06/0.3005, allocations: 384 / 0.9534 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.3005, allocations: 8.375 kB / 0.9534 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002338/0.3008, allocations: 66.2 kB / 0.9534 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.3008, allocations: 4.188 kB / 0.9534 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.3008, allocations: 7.938 kB / 0.9534 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3008, allocations: 0 / 0.9534 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002503/0.3011, allocations: 63.92 kB / 0.9535 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003606/0.3014, allocations: 260.9 kB / 0.9538 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.3016, allocations: 62.47 kB / 0.9538 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.3018, allocations: 44.91 kB / 0.9539 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.3018, allocations: 0 / 0.9539 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.3018, allocations: 34.56 kB / 0.9539 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.3018, allocations: 4 kB / 0.9539 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.000478/0.3023, allocations: 129.6 kB / 0.954 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.3024, allocations: 55.39 kB / 0.9541 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.816e-05/0.3025, allocations: 109.8 kB / 0.9542 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.3025, allocations: 25.7 kB / 0.9542 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.549e-05/0.3025, allocations: 92.12 kB / 0.9543 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.3026, allocations: 7.906 kB / 0.9543 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.3026, allocations: 13.72 kB / 0.9543 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.3027, allocations: 318.8 kB / 0.9546 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.3029, allocations: 27.97 kB / 0.9546 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.303, allocations: 35.95 kB / 0.9547 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002501/0.3032, allocations: 68.78 kB / 0.9547 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.3033, allocations: 3.938 kB / 0.9547 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002824/0.3035, allocations: 101.5 kB / 0.9548 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3036, allocations: 8 kB / 0.9548 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.3036, allocations: 3.984 kB / 0.9548 GB, free: 4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.3036, allocations: 4 kB / 0.9549 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.3037, allocations: 11.98 kB / 0.9549 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.3037, allocations: 0 / 0.9549 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.046e-05/0.3038, allocations: 11.98 kB / 0.9549 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.3038, allocations: 7.938 kB / 0.9549 GB, free: 3.965 MB / 0.7325 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 0.0001302/0.304, allocations: 121.7 kB / 0.955 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.18e-05/0.304, allocations: 0 / 0.955 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.056e-05/0.304, allocations: 11.89 kB / 0.955 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.304, allocations: 4 kB / 0.955 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.304, allocations: 0 / 0.955 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.304, allocations: 0 / 0.955 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.3042, allocations: 181.4 kB / 0.9552 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3042, allocations: 0 / 0.9552 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.507e-05/0.3043, allocations: 11.98 kB / 0.9552 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.3043, allocations: 7.984 kB / 0.9552 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.3043, allocations: 8 kB / 0.9552 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3043, allocations: 3.938 kB / 0.9552 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3044, allocations: 0 / 0.9552 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/0.3047, allocations: 187.4 kB / 0.9554 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.532e-05/0.3047, allocations: 77.11 kB / 0.9555 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.3047, allocations: 12 kB / 0.9555 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.77e-05/0.3048, allocations: 11.97 kB / 0.9555 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.3049, allocations: 4 kB / 0.9555 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.3049, allocations: 0 / 0.9555 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.612e-05/0.3049, allocations: 91.27 kB / 0.9556 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3049, allocations: 0 / 0.9556 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002053/0.3052, allocations: 4 kB / 0.9556 GB, free: 3.145 MB / 0.7325 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.000115/0.3053, allocations: 103.2 kB / 0.9557 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002994/0.3056, allocations: 67.86 kB / 0.9557 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3056, allocations: 0 / 0.9557 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.3057, allocations: 39.95 kB / 0.9558 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.306, allocations: 13.81 kB / 0.9558 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002896/0.3063, allocations: 125.5 kB / 0.9559 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.3066, allocations: 0.6805 MB / 0.9566 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.869e-05/0.3066, allocations: 4 kB / 0.9566 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.3067, allocations: 7.438 kB / 0.9566 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of SimCode: time 3.3e-07/0.3067, allocations: 0 / 0.9566 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of Templates: time 0.002571/0.3092, allocations: 0.6811 MB / 0.9573 GB, free: 1.375 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Feedback.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches