Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001869/0.001869, allocations: 101.5 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.001985/0.001985, allocations: 191.7 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.25/2.25, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 62.53 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3222, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002599/0.3249, allocations: 0.8677 MB / 0.952 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001977/0.3269, allocations: 1.296 MB / 0.9532 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.585e-05/0.3269, allocations: 7.938 kB / 0.9533 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.3271, allocations: 15.8 kB / 0.9533 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.679e-05/0.3272, allocations: 27.78 kB / 0.9533 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007561/0.328, allocations: 263.2 kB / 0.9535 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004045/0.3284, allocations: 355.3 kB / 0.9539 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/0.3286, allocations: 53.48 kB / 0.9539 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.3288, allocations: 127.8 kB / 0.9541 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.3289, allocations: 107.6 kB / 0.9542 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.763e-05/0.329, allocations: 32 kB / 0.9542 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.3291, allocations: 51.97 kB / 0.9542 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.636e-05/0.3292, allocations: 43.84 kB / 0.9543 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.3293, allocations: 119.5 kB / 0.9544 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003614/0.3297, allocations: 354.8 kB / 0.9547 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3297, allocations: 4 kB / 0.9547 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3297, allocations: 0 / 0.9547 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.3297, allocations: 0 / 0.9547 GB, free: 4.332 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0007821/0.3305, allocations: 0.5448 MB / 0.9553 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.3306, allocations: 12.03 kB / 0.9553 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.112e-05/0.3307, allocations: 24.66 kB / 0.9553 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006274/0.3313, allocations: 300 kB / 0.9556 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.381e-05/0.3313, allocations: 12.38 kB / 0.9556 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.117e-05/0.3314, allocations: 20.38 kB / 0.9556 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.3316, allocations: 156.9 kB / 0.9558 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3316, allocations: 0 / 0.9558 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.3316, allocations: 8 kB / 0.9558 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3317, allocations: 0 / 0.9558 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.3318, allocations: 67.91 kB / 0.9558 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007928/0.3326, allocations: 0.7624 MB / 0.9566 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.517e-05/0.3327, allocations: 53.16 kB / 0.9566 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.547e-05/0.3327, allocations: 29.77 kB / 0.9567 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.3328, allocations: 0 / 0.9567 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001934/0.333, allocations: 101.1 kB / 0.9568 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.333, allocations: 0 / 0.9568 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0002918/0.3333, allocations: 129.4 kB / 0.9569 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.3333, allocations: 77.11 kB / 0.957 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.3335, allocations: 215.5 kB / 0.9572 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.3336, allocations: 41.62 kB / 0.9572 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.3337, allocations: 144.1 kB / 0.9573 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.3337, allocations: 15.81 kB / 0.9574 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.3338, allocations: 73.67 kB / 0.9574 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.3339, allocations: 330.8 kB / 0.9577 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.3341, allocations: 63.97 kB / 0.9578 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.3343, allocations: 128.5 kB / 0.9579 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/0.3345, allocations: 202.1 kB / 0.9581 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.3345, allocations: 0 / 0.9581 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004538/0.335, allocations: 304.6 kB / 0.9584 GB, free: 200 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.771e-05/0.335, allocations: 59.41 kB / 0.9585 GB, free: 128 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.335, allocations: 4 kB / 0.9585 GB, free: 124 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.3351, allocations: 3.984 kB / 0.9585 GB, free: 120 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.912e-05/0.3351, allocations: 8 kB / 0.9585 GB, free: 112 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.3351, allocations: 4 kB / 0.9585 GB, free: 108 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000375/0.3355, allocations: 72.05 kB / 0.9586 GB, free: 36 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.292e-05/0.3356, allocations: 19.98 kB / 0.9586 GB, free: 16 kB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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.000154/0.3357, allocations: 152.8 kB / 0.9587 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.042e-05/0.3357, allocations: 11.81 kB / 0.9587 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.095e-05/0.3358, allocations: 20.92 kB / 0.9588 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3358, allocations: 0 / 0.9588 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3358, allocations: 0 / 0.9588 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3358, allocations: 4 kB / 0.9588 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.336, allocations: 237.5 kB / 0.959 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.336, allocations: 0 / 0.959 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.222e-05/0.336, allocations: 4 kB / 0.959 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3361, allocations: 4 kB / 0.959 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.3361, allocations: 0 / 0.959 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3361, allocations: 0 / 0.959 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3361, allocations: 4 kB / 0.959 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.3363, allocations: 141.6 kB / 0.9591 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.184e-05/0.3363, allocations: 88.92 kB / 0.9592 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.3364, allocations: 4 kB / 0.9592 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.028e-05/0.3364, allocations: 0 / 0.9592 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.3364, allocations: 12.45 kB / 0.9592 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.3364, allocations: 4 kB / 0.9592 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001324/0.3366, allocations: 141.5 kB / 0.9594 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3366, allocations: 0 / 0.9594 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002679/0.3369, allocations: 51.78 kB / 0.9594 GB, free: 15.06 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0001669/0.337, allocations: 116.2 kB / 0.9595 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000362/0.3374, allocations: 258.7 kB / 0.9598 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3374, allocations: 7.875 kB / 0.9598 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 5.813e-05/0.3375, allocations: 35.92 kB / 0.9598 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.3378, allocations: 40.34 kB / 0.9599 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005135/0.3383, allocations: 304.8 kB / 0.9601 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.3386, allocations: 0.7241 MB / 0.9609 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.174e-05/0.3387, allocations: 21.55 kB / 0.9609 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.8e-05/0.3387, allocations: 15.44 kB / 0.9609 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of SimCode: time 2.21e-07/0.3387, allocations: 4 kB / 0.9609 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of Templates: time 0.005748/0.3445, allocations: 2.525 MB / 0.9634 GB, free: 10.97 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches