Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|feedback1.u1|feedback1.u2|feedback1.y",fileNamePrefix="Buildings_latest_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_latest_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.001118/0.001118, allocations: 109.1 kB / 16.37 MB, free: 6.477 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.001044/0.001044, allocations: 193.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.365/1.365, 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.439/2.439, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 66.28 kB / 0.8774 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2937, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback): time 0.002168/0.2959, allocations: 0.7206 MB / 1.027 GB, free: 1.344 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000913/0.2969, allocations: 0.8079 MB / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.984e-05/0.2969, allocations: 0 / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.26e-05/0.297, allocations: 3.938 kB / 1.028 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.334e-05/0.2971, allocations: 3.938 kB / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 6.197e-05/0.2971, allocations: 15.97 kB / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.586e-05/0.2972, allocations: 47.86 kB / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.2973, allocations: 11.98 kB / 1.028 GB, free: 452 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.645e-05/0.2974, allocations: 15.92 kB / 1.028 GB, free: 436 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.991e-05/0.2975, allocations: 19.92 kB / 1.028 GB, free: 416 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.2975, allocations: 4 kB / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.764e-06/0.2975, allocations: 0 / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.101e-05/0.2975, allocations: 8 kB / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.42e-05/0.2976, allocations: 27.86 kB / 1.028 GB, free: 376 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.83e-05/0.2977, allocations: 39.86 kB / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.82e-06/0.2977, allocations: 0 / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2977, allocations: 0 / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.2977, allocations: 0 / 1.028 GB, free: 336 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.0005697/0.2983, allocations: 359.4 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.2983, allocations: 8.031 kB / 1.029 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.2984, allocations: 8.844 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.2985, allocations: 172.3 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.2985, allocations: 8.312 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.2986, allocations: 4.312 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002261/0.2988, allocations: 70.2 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.2988, allocations: 192 / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.2988, allocations: 3.938 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.2988, allocations: 7.984 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002945/0.2991, allocations: 63.94 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003348/0.2995, allocations: 268.8 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.2997, allocations: 62.41 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.2998, allocations: 48.91 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.2998, allocations: 0 / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.2999, allocations: 30.56 kB / 1.03 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.2999, allocations: 0 / 1.03 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.000473/0.3003, allocations: 125.6 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.3004, allocations: 59.34 kB / 1.03 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.719e-05/0.3005, allocations: 105.8 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.3005, allocations: 25.7 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.096e-05/0.3005, allocations: 92.12 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.3006, allocations: 15.8 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/0.3006, allocations: 13.72 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.3007, allocations: 318.8 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.3009, allocations: 27.95 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.301, allocations: 31.97 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/0.3013, allocations: 68.78 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.3013, 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.000288/0.3016, allocations: 101.6 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.3016, allocations: 8 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3016, allocations: 0 / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.3016, allocations: 0 / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.3017, allocations: 19.97 kB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.3017, allocations: 0 / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.253e-05/0.3018, allocations: 11.98 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.3018, allocations: 0 / 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 8.422e-05/0.3019, allocations: 117.7 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.302, allocations: 11.91 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.884e-05/0.302, allocations: 7.906 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.302, allocations: 3.984 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.302, allocations: 0 / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.302, allocations: 4 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.3022, allocations: 173.5 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3022, allocations: 0 / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.047e-05/0.3023, allocations: 15.98 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3023, allocations: 3.938 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.3023, allocations: 3.938 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3023, allocations: 3.984 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3023, allocations: 0 / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003765/0.3027, allocations: 203.7 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.246e-05/0.3028, allocations: 85.02 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.3028, allocations: 0 / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.3029, allocations: 11.98 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.303, allocations: 3.984 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.303, allocations: 4 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.48e-05/0.3031, allocations: 95.56 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3031, allocations: 0 / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002295/0.3033, allocations: 4 kB / 1.031 GB, free: 13.16 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.000132/0.3035, allocations: 103.2 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003218/0.3038, allocations: 75.86 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3038, allocations: 0 / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.3039, allocations: 35.97 kB / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.3042, allocations: 13.42 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002936/0.3045, allocations: 121.5 kB / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.3048, allocations: 0.6807 MB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.638e-05/0.3048, allocations: 4 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.719e-05/0.3049, allocations: 7.438 kB / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.3049, allocations: 0 / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of Templates: time 0.002554/0.3074, allocations: 0.6767 MB / 1.033 GB, free: 11.39 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Feedback.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches