Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001529/0.001529, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.001574/0.001574, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.465/1.465, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.913/2.913, allocations: 469.8 MB / 0.742 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 68.17 kB / 0.9081 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3107, allocations: 159.2 MB / 1.063 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002464/0.3132, allocations: 1.057 MB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002086/0.3154, allocations: 1.334 MB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.424e-05/0.3155, allocations: 7.938 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.3156, allocations: 15.86 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.289e-05/0.3157, allocations: 27.78 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007565/0.3165, allocations: 250.1 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004431/0.3169, allocations: 391.3 kB / 1.066 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.3171, allocations: 69.64 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.3173, allocations: 159.5 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002785/0.3176, allocations: 151.5 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.327e-05/0.3177, allocations: 32 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.3178, allocations: 47.98 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.682e-05/0.3179, allocations: 55.83 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.318, allocations: 143.3 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004496/0.3185, allocations: 383 kB / 1.067 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3185, allocations: 0 / 1.067 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3185, allocations: 0 / 1.067 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.3185, allocations: 0 / 1.067 GB, free: 10.47 MB / 0.8262 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.001092/0.3196, allocations: 0.6033 MB / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3197, allocations: 12.03 kB / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.01e-05/0.3198, allocations: 32.56 kB / 1.068 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009629/0.3207, allocations: 370.8 kB / 1.068 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/0.3208, allocations: 16.36 kB / 1.068 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.194e-05/0.3208, allocations: 24.31 kB / 1.068 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004575/0.3213, allocations: 198.4 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.3213, allocations: 7.875 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.3213, allocations: 12 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.3214, allocations: 4 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004652/0.3218, allocations: 135.8 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.3231, allocations: 0.907 MB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003498/0.3234, allocations: 157 kB / 1.07 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000235/0.3237, allocations: 80.3 kB / 1.07 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.3237, allocations: 4 kB / 1.07 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004237/0.3241, allocations: 167.5 kB / 1.07 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.794e-06/0.3241, allocations: 3.938 kB / 1.07 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0008832/0.325, allocations: 269.4 kB / 1.07 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001534/0.3252, allocations: 158.2 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/0.3254, allocations: 217.3 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.486e-05/0.3255, allocations: 37.7 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.3256, allocations: 152.1 kB / 1.071 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/0.3257, allocations: 31.7 kB / 1.071 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.3258, allocations: 57.69 kB / 1.071 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.326, allocations: 334.8 kB / 1.071 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003208/0.3263, allocations: 95.92 kB / 1.071 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003746/0.3267, allocations: 167.5 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005981/0.3273, allocations: 270.9 kB / 1.072 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.3273, allocations: 0 / 1.072 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008798/0.3282, allocations: 376.6 kB / 1.072 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.348e-05/0.3283, allocations: 59.41 kB / 1.072 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.3283, allocations: 4 kB / 1.072 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.3283, allocations: 0 / 1.072 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.3285, allocations: 27.97 kB / 1.072 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.3285, allocations: 7.922 kB / 1.072 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004103/0.3289, allocations: 75.89 kB / 1.072 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/0.3289, allocations: 15.98 kB / 1.072 GB, free: 5.004 MB / 0.8262 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.0001674/0.3291, allocations: 153.7 kB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.283e-05/0.3291, allocations: 19.81 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.732e-05/0.3292, allocations: 25.23 kB / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3292, allocations: 4 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-06/0.3292, allocations: 4 kB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3292, allocations: 0 / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002871/0.3295, allocations: 261.4 kB / 1.073 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.3295, allocations: 0 / 1.073 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.3297, allocations: 27.97 kB / 1.073 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3297, allocations: 0 / 1.073 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.3297, allocations: 4 kB / 1.073 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3297, allocations: 3.938 kB / 1.073 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.3297, allocations: 8 kB / 1.073 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005667/0.3303, allocations: 236.1 kB / 1.073 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.796e-05/0.3304, allocations: 96.86 kB / 1.073 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.3304, allocations: 0 / 1.073 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.3306, allocations: 23.91 kB / 1.073 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.392e-05/0.3306, allocations: 11.98 kB / 1.073 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.3307, allocations: 15.98 kB / 1.073 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001614/0.3308, allocations: 160.4 kB / 1.073 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3308, allocations: 3.938 kB / 1.073 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003057/0.3311, allocations: 55.83 kB / 1.073 GB, free: 3.797 MB / 0.8262 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.0001676/0.3313, allocations: 107.8 kB / 1.074 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007725/0.3321, allocations: 334.5 kB / 1.074 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3321, allocations: 0 / 1.074 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002738/0.3324, allocations: 83.81 kB / 1.074 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.3327, allocations: 46.59 kB / 1.074 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007541/0.3335, allocations: 459.6 kB / 1.074 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004809/0.334, allocations: 0.7437 MB / 1.075 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001473/0.3342, allocations: 38.05 kB / 1.075 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.514e-05/0.3342, allocations: 19.44 kB / 1.075 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3342, allocations: 0 / 1.075 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of Templates: time 0.00705/0.3413, allocations: 2.88 MB / 1.078 GB, free: 15.05 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches