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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001314/0.001314, allocations: 98.83 kB / 16.35 MB, free: 5.824 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.001398/0.001398, allocations: 196.6 kB / 17.29 MB, free: 5.48 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.412/1.412, 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 10.1.0-maint.10.0.x/package.mo): time 2.461/2.461, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 69.27 kB / 0.8707 GB, free: 1.418 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2986, allocations: 151.6 MB / 1.019 GB, free: 9.824 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002171/0.3008, allocations: 1.017 MB / 1.02 GB, free: 8.801 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001634/0.3025, allocations: 1.332 MB / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.41e-05/0.3026, allocations: 0 / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.3027, allocations: 23.73 kB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.386e-05/0.3028, allocations: 39.66 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008344/0.3037, allocations: 273.4 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004229/0.3041, allocations: 403.2 kB / 1.022 GB, free: 6.734 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.3043, allocations: 69.64 kB / 1.022 GB, free: 6.664 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.3045, allocations: 155.6 kB / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.3046, allocations: 131.5 kB / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.233e-05/0.3047, allocations: 32 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.3048, allocations: 59.97 kB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.377e-05/0.3049, allocations: 59.78 kB / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.3051, allocations: 139.4 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004029/0.3055, allocations: 406.6 kB / 1.023 GB, free: 5.699 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3055, allocations: 0 / 1.023 GB, free: 5.699 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3055, allocations: 0 / 1.023 GB, free: 5.699 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.918e-06/0.3055, allocations: 0 / 1.023 GB, free: 5.699 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.0008914/0.3064, allocations: 0.6072 MB / 1.023 GB, free: 5.027 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.3065, allocations: 20.91 kB / 1.023 GB, free: 5.008 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.62e-05/0.3066, allocations: 28.66 kB / 1.023 GB, free: 4.98 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008878/0.3075, allocations: 370.8 kB / 1.024 GB, free: 4.582 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.3075, allocations: 16.38 kB / 1.024 GB, free: 4.566 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.486e-05/0.3075, allocations: 20.38 kB / 1.024 GB, free: 4.547 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004226/0.308, allocations: 215.3 kB / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.308, allocations: 3.938 kB / 1.024 GB, free: 4.312 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.308, allocations: 8 kB / 1.024 GB, free: 4.305 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.308, allocations: 4 kB / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004437/0.3085, allocations: 139.8 kB / 1.024 GB, free: 4.164 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.3097, allocations: 0.9147 MB / 1.025 GB, free: 3.184 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/0.31, allocations: 152.9 kB / 1.025 GB, free: 2.988 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/0.3102, allocations: 88.3 kB / 1.025 GB, free: 2.887 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.3102, allocations: 0 / 1.025 GB, free: 2.887 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003744/0.3106, allocations: 167.5 kB / 1.025 GB, free: 2.695 MB / 0.795 GB Notification: Performance of pre-optimization done (n=11): time 1.402e-06/0.3106, allocations: 0 / 1.025 GB, free: 2.695 MB / 0.795 GB Notification: Performance of matching and sorting (n=11): time 0.0008549/0.3115, allocations: 257.1 kB / 1.026 GB, free: 2.438 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.3116, allocations: 158.2 kB / 1.026 GB, free: 2.246 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.3118, allocations: 229.3 kB / 1.026 GB, free: 2.016 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.778e-05/0.3119, allocations: 29.7 kB / 1.026 GB, free: 1.98 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.312, allocations: 156.1 kB / 1.026 GB, free: 1.82 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.312, allocations: 31.62 kB / 1.026 GB, free: 1.789 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.3121, allocations: 57.69 kB / 1.026 GB, free: 1.727 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.3123, allocations: 334.8 kB / 1.027 GB, free: 1.391 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000313/0.3126, allocations: 103.9 kB / 1.027 GB, free: 1.289 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003507/0.3129, allocations: 173.3 kB / 1.027 GB, free: 1.086 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005435/0.3135, allocations: 271 kB / 1.027 GB, free: 0.7812 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3135, allocations: 3.938 kB / 1.027 GB, free: 0.7773 MB / 0.795 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008131/0.3143, allocations: 376.5 kB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.008e-05/0.3144, allocations: 63.39 kB / 1.028 GB, free: 324 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.3144, allocations: 4 kB / 1.028 GB, free: 320 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.3144, allocations: 4 kB / 1.028 GB, free: 316 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.3146, allocations: 23.97 kB / 1.028 GB, free: 292 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.3146, allocations: 4 kB / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004501/0.315, allocations: 91.95 kB / 1.028 GB, free: 196 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.78e-05/0.3151, allocations: 12 kB / 1.028 GB, free: 184 kB / 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.0001351/0.3152, allocations: 157.6 kB / 1.028 GB, free: 16 kB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.467e-05/0.3153, allocations: 19.86 kB / 1.028 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.399e-05/0.3154, allocations: 25.19 kB / 1.028 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.84e-06/0.3154, allocations: 4 kB / 1.028 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.3154, allocations: 0 / 1.028 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3154, allocations: 4 kB / 1.028 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.3156, allocations: 261.4 kB / 1.028 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3156, allocations: 0 / 1.028 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.3158, allocations: 23.98 kB / 1.028 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.3158, allocations: 7.984 kB / 1.028 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.3158, allocations: 7.875 kB / 1.028 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.3158, allocations: 8 kB / 1.028 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3158, allocations: 0 / 1.028 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000515/0.3163, allocations: 236.1 kB / 1.028 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.625e-05/0.3164, allocations: 92.92 kB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.3164, allocations: 7.938 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.3166, allocations: 23.97 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.853e-05/0.3166, allocations: 19.92 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.3166, allocations: 4 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000123/0.3168, allocations: 168.4 kB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3168, allocations: 0 / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003022/0.3171, allocations: 55.84 kB / 1.029 GB, free: 14.97 MB / 0.8106 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.0001583/0.3173, allocations: 111.3 kB / 1.029 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007569/0.318, allocations: 343 kB / 1.029 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.318, allocations: 0 / 1.029 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002816/0.3183, allocations: 76.62 kB / 1.029 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.3187, allocations: 55.03 kB / 1.029 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006706/0.3194, allocations: 382 kB / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.3197, allocations: 0.7437 MB / 1.03 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001117/0.3198, allocations: 33.53 kB / 1.03 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.239e-05/0.3199, allocations: 23.44 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of SimCode: time 4.31e-07/0.3199, allocations: 0 / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of Templates: time 0.006595/0.3265, allocations: 3.157 MB / 1.034 GB, free: 10.01 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=480 -s cvode -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