Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001252/0.001253, allocations: 197.9 kB / 16.26 MB, free: 6.629 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.449/1.449, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.83/2.83, allocations: 469.8 MB / 0.742 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 72.55 kB / 0.908 GB, free: 34.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3043, allocations: 159.2 MB / 1.063 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002597/0.3069, allocations: 1.384 MB / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00202/0.309, allocations: 1.541 MB / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.3091, allocations: 3.938 kB / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00014/0.3093, allocations: 19.8 kB / 1.066 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.3094, allocations: 51.56 kB / 1.066 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.3105, allocations: 475.5 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006896/0.3112, allocations: 0.6678 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002975/0.3115, allocations: 169.2 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002824/0.3118, allocations: 263.3 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002367/0.312, allocations: 223.1 kB / 1.068 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.406e-05/0.3121, allocations: 64 kB / 1.068 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.3123, allocations: 75.98 kB / 1.068 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.3124, allocations: 75.77 kB / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002778/0.3127, allocations: 254.9 kB / 1.069 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006739/0.3133, allocations: 0.6699 MB / 1.069 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3133, allocations: 0 / 1.069 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3134, allocations: 0 / 1.069 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.3134, allocations: 0 / 1.069 GB, free: 8.68 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001287/0.3147, allocations: 0.939 MB / 1.07 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.3147, allocations: 8.031 kB / 1.07 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.3148, allocations: 48.47 kB / 1.07 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.3162, allocations: 483.7 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.289e-05/0.3162, allocations: 28.88 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-05/0.3163, allocations: 40.38 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000675/0.317, allocations: 325.3 kB / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.317, allocations: 7.938 kB / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/0.317, allocations: 8 kB / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.3171, allocations: 4 kB / 1.071 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006372/0.3177, allocations: 250.1 kB / 1.071 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00156/0.3193, allocations: 0.9314 MB / 1.072 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006513/0.3199, allocations: 378.8 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005028/0.3204, allocations: 280.5 kB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.3205, allocations: 7.984 kB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005885/0.3211, allocations: 319 kB / 1.073 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=44): time 2.194e-06/0.3211, allocations: 3.938 kB / 1.073 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44): time 0.00158/0.3227, allocations: 0.8381 MB / 1.074 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/0.3228, allocations: 191.9 kB / 1.074 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003014/0.3231, allocations: 288.5 kB / 1.074 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.303e-05/0.3232, allocations: 41.7 kB / 1.074 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.3234, allocations: 160.9 kB / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.3235, allocations: 138.2 kB / 1.075 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002389/0.3237, allocations: 134.1 kB / 1.075 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.3239, allocations: 346.8 kB / 1.075 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006079/0.3245, allocations: 276.8 kB / 1.075 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006615/0.3252, allocations: 357.8 kB / 1.076 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.3265, allocations: 0.9167 MB / 1.077 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.3265, allocations: 3.938 kB / 1.077 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001695/0.3282, allocations: 0.9939 MB / 1.078 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001947/0.3284, allocations: 260.4 kB / 1.078 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.3284, allocations: 4 kB / 1.078 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.3284, allocations: 4 kB / 1.078 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.3287, allocations: 67.89 kB / 1.078 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.3287, allocations: 7.938 kB / 1.078 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007097/0.3294, allocations: 147.6 kB / 1.078 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.3296, allocations: 63.92 kB / 1.078 GB, free: 14.88 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.0003126/0.3299, allocations: 322.2 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.603e-05/0.33, allocations: 39.52 kB / 1.079 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.978e-05/0.33, allocations: 39.48 kB / 1.079 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3301, allocations: 7.938 kB / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.3301, allocations: 0 / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3301, allocations: 7.875 kB / 1.079 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/0.3319, allocations: 1.198 MB / 1.08 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3319, allocations: 0 / 1.08 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.3322, allocations: 71.89 kB / 1.08 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.3322, allocations: 0 / 1.08 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.405e-05/0.3322, allocations: 15.98 kB / 1.08 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.3322, allocations: 0 / 1.08 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3322, allocations: 3.938 kB / 1.08 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/0.3334, allocations: 0.7574 MB / 1.081 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.3336, allocations: 116.6 kB / 1.081 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.954e-05/0.3336, allocations: 8 kB / 1.081 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.3338, allocations: 27.97 kB / 1.081 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.678e-05/0.3339, allocations: 43.84 kB / 1.081 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.405e-05/0.334, allocations: 55.86 kB / 1.081 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001875/0.3342, allocations: 199.1 kB / 1.081 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3342, allocations: 0 / 1.081 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004565/0.3347, allocations: 111.9 kB / 1.081 GB, free: 11.68 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * 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.0001828/0.3349, allocations: 111.9 kB / 1.081 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001765/0.3366, allocations: 1.21 MB / 1.082 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3367, allocations: 0 / 1.082 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000642/0.3373, allocations: 0.5164 MB / 1.083 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005557/0.3379, allocations: 93.58 kB / 1.083 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.3392, allocations: 0.9086 MB / 1.084 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004322/0.3397, allocations: 0.8002 MB / 1.085 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002479/0.3399, allocations: 87.2 kB / 1.085 GB, free: 7.715 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.249e-05/0.34, allocations: 35.44 kB / 1.085 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.34, allocations: 0 / 1.085 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of Templates: time 0.0119/0.3519, allocations: 6.377 MB / 1.091 GB, free: 1.379 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches