Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001181/0.001181, allocations: 105.8 kB / 15.99 MB, free: 6.348 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.001194/0.001194, allocations: 188.4 kB / 16.91 MB, free: 6.188 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.384/1.384, allocations: 222.9 MB / 240.6 MB, free: 15.42 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.432/2.432, allocations: 437 MB / 0.7107 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 68.25 kB / 0.8694 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3098, allocations: 151.6 MB / 1.017 GB, free: 11.03 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.003133/0.3129, allocations: 1.392 MB / 1.019 GB, free: 9.629 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002364/0.3153, allocations: 1.534 MB / 1.02 GB, free: 8.078 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002299/0.3156, allocations: 7.938 kB / 1.02 GB, free: 8.07 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001881/0.3158, allocations: 19.8 kB / 1.02 GB, free: 8.051 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001839/0.316, allocations: 55.56 kB / 1.02 GB, free: 7.996 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.3173, allocations: 477.8 kB / 1.021 GB, free: 7.543 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0008206/0.3182, allocations: 0.6717 MB / 1.022 GB, free: 6.871 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003387/0.3185, allocations: 169.1 kB / 1.022 GB, free: 6.703 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003785/0.3189, allocations: 259.3 kB / 1.022 GB, free: 6.449 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003015/0.3192, allocations: 219.1 kB / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001553/0.3194, allocations: 64 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001622/0.3196, allocations: 75.98 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.503e-05/0.3197, allocations: 83.77 kB / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000288/0.32, allocations: 250.9 kB / 1.023 GB, free: 5.77 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005658/0.3205, allocations: 0.5182 MB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3205, allocations: 0 / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3206, allocations: 0 / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.295e-05/0.3206, allocations: 3.938 kB / 1.023 GB, free: 5.246 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001544/0.3221, allocations: 0.9351 MB / 1.024 GB, free: 4.203 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.3222, allocations: 16.61 kB / 1.024 GB, free: 4.188 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000167/0.3224, allocations: 52.47 kB / 1.024 GB, free: 4.137 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/0.3237, allocations: 475.7 kB / 1.025 GB, free: 3.633 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.482e-05/0.3238, allocations: 36.86 kB / 1.025 GB, free: 3.598 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.891e-05/0.3239, allocations: 36.38 kB / 1.025 GB, free: 3.562 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006526/0.3245, allocations: 321.3 kB / 1.025 GB, free: 3.242 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.3246, allocations: 3.938 kB / 1.025 GB, free: 3.238 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.229e-05/0.3246, allocations: 15.98 kB / 1.025 GB, free: 3.223 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.3246, allocations: 4 kB / 1.025 GB, free: 3.219 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006305/0.3253, allocations: 250.1 kB / 1.025 GB, free: 2.973 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001607/0.3269, allocations: 0.9315 MB / 1.026 GB, free: 1.992 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007164/0.3276, allocations: 376.9 kB / 1.026 GB, free: 1.617 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005645/0.3282, allocations: 289.9 kB / 1.027 GB, free: 1.336 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/0.3282, allocations: 4 kB / 1.027 GB, free: 1.332 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006587/0.3289, allocations: 327 kB / 1.027 GB, free: 1 MB / 0.795 GB Notification: Performance of pre-optimization done (n=44): time 6.452e-06/0.3289, allocations: 0 / 1.027 GB, free: 1 MB / 0.795 GB Notification: Performance of matching and sorting (n=44): time 0.001787/0.3307, allocations: 0.8342 MB / 1.028 GB, free: 132 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001647/0.3309, allocations: 195.9 kB / 1.028 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004162/0.3313, allocations: 288.5 kB / 1.028 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001011/0.3314, allocations: 41.7 kB / 1.028 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.3316, allocations: 164.8 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.3317, allocations: 134.2 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002526/0.332, allocations: 130.1 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3322, allocations: 350.8 kB / 1.029 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005885/0.3328, allocations: 272.8 kB / 1.029 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006583/0.3334, allocations: 365.8 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.3346, allocations: 0.9127 MB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/0.3347, allocations: 7.938 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001636/0.3363, allocations: 0.9975 MB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001522/0.3365, allocations: 255.6 kB / 1.032 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.3365, allocations: 8 kB / 1.032 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.3365, allocations: 4 kB / 1.032 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/0.3368, allocations: 67.89 kB / 1.032 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.3368, allocations: 4 kB / 1.032 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007449/0.3376, allocations: 143.5 kB / 1.032 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/0.3377, allocations: 71.86 kB / 1.032 GB, free: 11.43 MB / 0.8106 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.0003298/0.338, allocations: 319.7 kB / 1.032 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.892e-05/0.3381, allocations: 43.53 kB / 1.032 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.782e-05/0.3382, allocations: 35.48 kB / 1.032 GB, free: 11 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.3382, allocations: 8 kB / 1.032 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/0.3382, allocations: 0 / 1.032 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.3383, allocations: 3.984 kB / 1.032 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/0.34, allocations: 1.202 MB / 1.034 GB, free: 9.695 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3401, allocations: 0 / 1.034 GB, free: 9.695 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.3403, allocations: 59.95 kB / 1.034 GB, free: 9.637 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.3403, allocations: 4 kB / 1.034 GB, free: 9.633 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.454e-05/0.3404, allocations: 8 kB / 1.034 GB, free: 9.625 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.3404, allocations: 7.938 kB / 1.034 GB, free: 9.617 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.3404, allocations: 7.938 kB / 1.034 GB, free: 9.609 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/0.3416, allocations: 0.7612 MB / 1.034 GB, free: 8.801 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.299e-05/0.3417, allocations: 116.6 kB / 1.035 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.603e-05/0.3417, allocations: 19.98 kB / 1.035 GB, free: 8.648 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/0.342, allocations: 23.97 kB / 1.035 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.3421, allocations: 39.89 kB / 1.035 GB, free: 8.586 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.843e-05/0.3422, allocations: 51.88 kB / 1.035 GB, free: 8.535 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002084/0.3424, allocations: 199.1 kB / 1.035 GB, free: 8.34 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3424, allocations: 3.938 kB / 1.035 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005397/0.3429, allocations: 107.9 kB / 1.035 GB, free: 8.23 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: 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.000225/0.3432, allocations: 115.2 kB / 1.035 GB, free: 8.105 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001812/0.345, allocations: 1.202 MB / 1.036 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.345, allocations: 0 / 1.036 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006218/0.3456, allocations: 0.5164 MB / 1.037 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005808/0.3462, allocations: 88.72 kB / 1.037 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.3477, allocations: 0.9479 MB / 1.038 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.3481, allocations: 0.7963 MB / 1.039 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.59e-05/0.3481, allocations: 31.44 kB / 1.039 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of SimCode: time 5.91e-07/0.3482, allocations: 0 / 1.039 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of Templates: time 0.009606/0.3578, allocations: 5.586 MB / 1.044 GB, free: 14.75 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches