Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0007236/0.0007236, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007937/0.0007938, allocations: 184.4 kB / 16.92 MB, free: 6.684 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.276/1.276, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.449/2.449, allocations: 443.2 MB / 0.7181 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003105/0.0003106, allocations: 8.844 kB / 0.8801 GB, free: 42.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.252, allocations: 155.1 MB / 1.032 GB, free: 4.754 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001117/0.2531, allocations: 0.7138 MB / 1.032 GB, free: 4.043 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001748/0.2549, allocations: 1.359 MB / 1.034 GB, free: 2.668 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.081e-05/0.255, allocations: 0 / 1.034 GB, free: 2.668 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.2551, allocations: 19.86 kB / 1.034 GB, free: 2.648 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.2552, allocations: 31.72 kB / 1.034 GB, free: 2.617 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006887/0.2559, allocations: 254.2 kB / 1.034 GB, free: 2.375 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003478/0.2563, allocations: 339.2 kB / 1.034 GB, free: 2.043 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.2564, allocations: 65.64 kB / 1.034 GB, free: 1.977 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/0.2567, allocations: 127.5 kB / 1.034 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002651/0.2569, allocations: 127.6 kB / 1.035 GB, free: 1.727 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.059e-05/0.257, allocations: 12 kB / 1.035 GB, free: 1.715 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.858e-05/0.2571, allocations: 31.92 kB / 1.035 GB, free: 1.684 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.936e-05/0.2572, allocations: 43.78 kB / 1.035 GB, free: 1.641 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.2573, allocations: 141.1 kB / 1.035 GB, free: 1.496 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.2576, allocations: 279.5 kB / 1.035 GB, free: 1.223 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2576, allocations: 0 / 1.035 GB, free: 1.223 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.462e-06/0.2576, allocations: 0 / 1.035 GB, free: 1.223 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.2576, allocations: 0 / 1.035 GB, free: 1.223 MB / 0.7794 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.0008304/0.2584, allocations: 0.5721 MB / 1.036 GB, free: 0.5859 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.2585, allocations: 8.031 kB / 1.036 GB, free: 0.5781 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.75e-05/0.2586, allocations: 32.56 kB / 1.036 GB, free: 0.5469 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009072/0.2595, allocations: 394.8 kB / 1.036 GB, free: 124 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/0.2595, allocations: 20.36 kB / 1.036 GB, free: 104 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.855e-05/0.2596, allocations: 24.38 kB / 1.036 GB, free: 80 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004506/0.2601, allocations: 214.4 kB / 1.036 GB, free: 15.85 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.2601, allocations: 3.938 kB / 1.036 GB, free: 15.84 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.2601, allocations: 8 kB / 1.036 GB, free: 15.84 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.2601, allocations: 0 / 1.036 GB, free: 15.84 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004977/0.2606, allocations: 167.8 kB / 1.036 GB, free: 15.67 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.2617, allocations: 0.9225 MB / 1.037 GB, free: 14.68 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003239/0.262, allocations: 165 kB / 1.038 GB, free: 14.48 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002535/0.2623, allocations: 92.23 kB / 1.038 GB, free: 14.37 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.2623, allocations: 8 kB / 1.038 GB, free: 14.36 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003993/0.2627, allocations: 175.5 kB / 1.038 GB, free: 14.16 MB / 0.795 GB Notification: Performance of pre-optimization done (n=11): time 1.733e-06/0.2627, allocations: 0 / 1.038 GB, free: 14.16 MB / 0.795 GB Notification: Performance of matching and sorting (n=11): time 0.0008909/0.2636, allocations: 297.5 kB / 1.038 GB, free: 13.87 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/0.2637, allocations: 158.2 kB / 1.038 GB, free: 13.68 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.2639, allocations: 220.9 kB / 1.038 GB, free: 13.45 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.486e-05/0.2639, allocations: 37.7 kB / 1.038 GB, free: 13.41 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.813e-05/0.264, allocations: 152.2 kB / 1.039 GB, free: 13.25 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.2641, allocations: 27.64 kB / 1.039 GB, free: 13.23 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.416e-05/0.2641, allocations: 33.66 kB / 1.039 GB, free: 13.19 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.2643, allocations: 342.8 kB / 1.039 GB, free: 12.84 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003319/0.2646, allocations: 111.9 kB / 1.039 GB, free: 12.73 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003478/0.265, allocations: 169.7 kB / 1.039 GB, free: 12.54 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005907/0.2656, allocations: 298.9 kB / 1.04 GB, free: 12.21 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.2656, allocations: 0 / 1.04 GB, free: 12.21 MB / 0.795 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008538/0.2664, allocations: 404.4 kB / 1.04 GB, free: 11.8 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.136e-05/0.2665, allocations: 71.55 kB / 1.04 GB, free: 11.71 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2665, allocations: 0 / 1.04 GB, free: 11.71 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.2665, allocations: 4 kB / 1.04 GB, free: 11.71 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.2667, allocations: 35.91 kB / 1.04 GB, free: 11.68 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.2667, allocations: 4 kB / 1.04 GB, free: 11.67 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004258/0.2671, allocations: 99.83 kB / 1.04 GB, free: 11.57 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/0.2672, allocations: 15.98 kB / 1.04 GB, free: 11.56 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.000136/0.2673, allocations: 151.2 kB / 1.04 GB, free: 11.4 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.2674, allocations: 19.8 kB / 1.04 GB, free: 11.38 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.387e-05/0.2674, allocations: 21.25 kB / 1.04 GB, free: 11.36 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.676e-06/0.2674, allocations: 0 / 1.04 GB, free: 11.36 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.2674, allocations: 8 kB / 1.04 GB, free: 11.36 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.2674, allocations: 7.922 kB / 1.04 GB, free: 11.35 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.2677, allocations: 257.5 kB / 1.041 GB, free: 11.05 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.2677, allocations: 4 kB / 1.041 GB, free: 11.04 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.2678, allocations: 31.97 kB / 1.041 GB, free: 11.01 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.2678, allocations: 4 kB / 1.041 GB, free: 11.01 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.2679, allocations: 0 / 1.041 GB, free: 11.01 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.922e-06/0.2679, allocations: 7.984 kB / 1.041 GB, free: 11 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.2679, allocations: 3.984 kB / 1.041 GB, free: 11 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005677/0.2684, allocations: 264 kB / 1.041 GB, free: 10.71 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.958e-05/0.2685, allocations: 100.9 kB / 1.041 GB, free: 10.59 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.2685, allocations: 8 kB / 1.041 GB, free: 10.58 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.2687, allocations: 23.97 kB / 1.041 GB, free: 10.56 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.048e-05/0.2687, allocations: 11.98 kB / 1.041 GB, free: 10.55 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.2687, allocations: 4 kB / 1.041 GB, free: 10.54 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001293/0.2689, allocations: 168.4 kB / 1.041 GB, free: 10.38 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2689, allocations: 4 kB / 1.041 GB, free: 10.38 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003578/0.2693, allocations: 55.84 kB / 1.041 GB, free: 10.32 MB / 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.0001366/0.2694, allocations: 107.2 kB / 1.041 GB, free: 10.2 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0007381/0.2701, allocations: 358.9 kB / 1.042 GB, free: 9.828 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.2702, allocations: 4.062 kB / 1.042 GB, free: 9.824 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002912/0.2705, allocations: 95.86 kB / 1.042 GB, free: 9.73 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.2708, allocations: 54.75 kB / 1.042 GB, free: 9.676 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006166/0.2715, allocations: 486 kB / 1.042 GB, free: 9.16 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.2717, allocations: 0.7517 MB / 1.043 GB, free: 8.383 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.326e-05/0.2718, allocations: 23.36 kB / 1.043 GB, free: 8.363 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.2718, allocations: 0 / 1.043 GB, free: 8.363 MB / 0.795 GB Notification: Performance of Templates: time 0.004624/0.2764, allocations: 2.994 MB / 1.046 GB, free: 5.398 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches