Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 107.4 kB / 15.99 MB, free: 6.359 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.001552/0.001552, allocations: 192.8 kB / 16.91 MB, free: 6.195 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.418/1.418, allocations: 222.9 MB / 240.6 MB, free: 13.69 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.571/2.571, allocations: 437.1 MB / 0.7107 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 71.77 kB / 0.8694 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3054, allocations: 151.6 MB / 1.017 GB, free: 10.95 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002582/0.3081, allocations: 1.069 MB / 1.019 GB, free: 9.875 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001974/0.3101, allocations: 1.323 MB / 1.02 GB, free: 8.535 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.279e-05/0.3102, allocations: 3.938 kB / 1.02 GB, free: 8.531 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001323/0.3103, allocations: 15.86 kB / 1.02 GB, free: 8.516 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.642e-05/0.3104, allocations: 27.78 kB / 1.02 GB, free: 8.488 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008271/0.3113, allocations: 257.2 kB / 1.02 GB, free: 8.242 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0005465/0.3118, allocations: 399.2 kB / 1.02 GB, free: 7.852 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001969/0.312, allocations: 69.64 kB / 1.021 GB, free: 7.781 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.3122, allocations: 159.6 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003015/0.3126, allocations: 155.5 kB / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.834e-05/0.3126, allocations: 32 kB / 1.021 GB, free: 7.441 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.3127, allocations: 47.97 kB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.029e-05/0.3128, allocations: 51.84 kB / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001737/0.313, allocations: 135.4 kB / 1.021 GB, free: 7.211 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003397/0.3134, allocations: 299.5 kB / 1.021 GB, free: 6.918 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3134, allocations: 3.984 kB / 1.021 GB, free: 6.914 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3134, allocations: 0 / 1.021 GB, free: 6.914 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.3134, allocations: 0 / 1.021 GB, free: 6.914 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001022/0.3144, allocations: 0.5955 MB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.3145, allocations: 12.92 kB / 1.022 GB, free: 6.242 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.594e-05/0.3146, allocations: 32.59 kB / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009589/0.3155, allocations: 374.8 kB / 1.022 GB, free: 5.805 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/0.3156, allocations: 16.38 kB / 1.022 GB, free: 5.789 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.728e-05/0.3156, allocations: 16.38 kB / 1.022 GB, free: 5.773 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004749/0.3161, allocations: 210.9 kB / 1.023 GB, free: 5.547 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.3161, allocations: 3.938 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.931e-05/0.3162, allocations: 8 kB / 1.023 GB, free: 5.535 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.3162, allocations: 7.938 kB / 1.023 GB, free: 5.527 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005004/0.3167, allocations: 139.8 kB / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.318, allocations: 0.9069 MB / 1.024 GB, free: 4.418 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004268/0.3184, allocations: 160.9 kB / 1.024 GB, free: 4.215 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002506/0.3187, allocations: 80.3 kB / 1.024 GB, free: 4.121 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.3187, allocations: 8 kB / 1.024 GB, free: 4.113 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004189/0.3192, allocations: 159.5 kB / 1.024 GB, free: 3.93 MB / 0.795 GB Notification: Performance of pre-optimization done (n=11): time 1.934e-06/0.3192, allocations: 0 / 1.024 GB, free: 3.93 MB / 0.795 GB Notification: Performance of matching and sorting (n=11): time 0.0009256/0.3201, allocations: 257.2 kB / 1.024 GB, free: 3.672 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/0.3202, allocations: 166.5 kB / 1.024 GB, free: 3.473 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.3205, allocations: 224.9 kB / 1.025 GB, free: 3.246 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.808e-05/0.3205, allocations: 37.7 kB / 1.025 GB, free: 3.203 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.3207, allocations: 152.1 kB / 1.025 GB, free: 3.051 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.915e-05/0.3207, allocations: 27.64 kB / 1.025 GB, free: 3.023 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.3209, allocations: 57.69 kB / 1.025 GB, free: 2.961 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.3211, allocations: 334.8 kB / 1.025 GB, free: 2.625 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003611/0.3214, allocations: 103.9 kB / 1.025 GB, free: 2.523 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003701/0.3218, allocations: 159.6 kB / 1.026 GB, free: 2.34 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006274/0.3224, allocations: 274.9 kB / 1.026 GB, free: 2.031 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3224, allocations: 0 / 1.026 GB, free: 2.031 MB / 0.795 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009064/0.3234, allocations: 376.6 kB / 1.026 GB, free: 1.645 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.31e-05/0.3234, allocations: 63.39 kB / 1.026 GB, free: 1.57 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.3234, allocations: 4 kB / 1.026 GB, free: 1.566 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.3235, allocations: 0 / 1.026 GB, free: 1.566 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.3236, allocations: 31.91 kB / 1.026 GB, free: 1.535 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.3237, allocations: 0 / 1.026 GB, free: 1.535 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004136/0.3241, allocations: 75.92 kB / 1.026 GB, free: 1.461 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.405e-05/0.3241, allocations: 11.98 kB / 1.026 GB, free: 1.449 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * 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.0001734/0.3243, allocations: 157.7 kB / 1.026 GB, free: 1.285 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.646e-05/0.3243, allocations: 19.8 kB / 1.026 GB, free: 1.266 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.53e-05/0.3244, allocations: 25.25 kB / 1.026 GB, free: 1.242 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3244, allocations: 0 / 1.026 GB, free: 1.242 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.3244, allocations: 4 kB / 1.027 GB, free: 1.238 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.3244, allocations: 3.984 kB / 1.027 GB, free: 1.234 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002938/0.3247, allocations: 257.4 kB / 1.027 GB, free: 0.9336 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3247, allocations: 0 / 1.027 GB, free: 0.9336 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.3249, allocations: 27.97 kB / 1.027 GB, free: 0.9062 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.3249, allocations: 4 kB / 1.027 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.3249, allocations: 4 kB / 1.027 GB, free: 0.8984 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.3249, allocations: 3.984 kB / 1.027 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.3249, allocations: 11.94 kB / 1.027 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005803/0.3255, allocations: 236 kB / 1.027 GB, free: 0.6211 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.001e-05/0.3256, allocations: 96.91 kB / 1.027 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.3257, allocations: 3.938 kB / 1.027 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.3258, allocations: 23.97 kB / 1.027 GB, free: 492 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.503e-05/0.3259, allocations: 19.92 kB / 1.027 GB, free: 472 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.3259, allocations: 8 kB / 1.027 GB, free: 464 kB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001542/0.326, allocations: 160.4 kB / 1.027 GB, free: 300 kB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3261, allocations: 0 / 1.027 GB, free: 300 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003257/0.3264, allocations: 51.84 kB / 1.027 GB, free: 248 kB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001839/0.3266, allocations: 111.8 kB / 1.027 GB, free: 124 kB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0008189/0.3274, allocations: 331.1 kB / 1.028 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3274, allocations: 0 / 1.028 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003022/0.3277, allocations: 92.7 kB / 1.028 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.3281, allocations: 46.84 kB / 1.028 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008249/0.3289, allocations: 489.5 kB / 1.028 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000405/0.3294, allocations: 0.7476 MB / 1.029 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.49e-05/0.3294, allocations: 19.44 kB / 1.029 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of SimCode: time 2.7e-07/0.3294, allocations: 4 kB / 1.029 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of Templates: time 0.005691/0.3351, allocations: 3.034 MB / 1.032 GB, free: 11.32 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches