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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001533/0.001533, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001733/0.001733, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.365/1.365, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.294/2.294, allocations: 390.3 MB / 0.6653 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 70.16 kB / 0.8132 GB, free: 33.02 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2842, allocations: 140.4 MB / 0.9503 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002798/0.2871, allocations: 0.876 MB / 0.9511 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002424/0.2895, allocations: 1.292 MB / 0.9524 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.2897, allocations: 0 / 0.9524 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001543/0.2899, allocations: 15.81 kB / 0.9524 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001762/0.2901, allocations: 31.72 kB / 0.9524 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.2912, allocations: 254.9 kB / 0.9527 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005782/0.2918, allocations: 347.4 kB / 0.953 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002353/0.292, allocations: 69.39 kB / 0.9531 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003149/0.2924, allocations: 127.7 kB / 0.9532 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003388/0.2927, allocations: 119.7 kB / 0.9533 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.451e-05/0.2928, allocations: 28 kB / 0.9533 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.293, allocations: 43.98 kB / 0.9534 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.153e-05/0.293, allocations: 39.86 kB / 0.9534 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.2932, allocations: 123.4 kB / 0.9535 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004159/0.2936, allocations: 319.3 kB / 0.9538 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.2936, allocations: 3.984 kB / 0.9539 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2937, allocations: 0 / 0.9539 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.2937, allocations: 0 / 0.9539 GB, free: 5.18 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.0008116/0.2945, allocations: 0.5462 MB / 0.9544 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.2945, allocations: 12.03 kB / 0.9544 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.618e-05/0.2946, allocations: 24.66 kB / 0.9544 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007144/0.2954, allocations: 296 kB / 0.9547 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/0.2954, allocations: 16.36 kB / 0.9547 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.664e-05/0.2955, allocations: 20.38 kB / 0.9547 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.2957, allocations: 152.9 kB / 0.9549 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.2957, allocations: 4 kB / 0.9549 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.2958, allocations: 0 / 0.9549 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-06/0.2958, allocations: 7.938 kB / 0.9549 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.2959, allocations: 67.89 kB / 0.955 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008946/0.2968, allocations: 0.7546 MB / 0.9557 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.2969, allocations: 57.25 kB / 0.9557 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.016e-05/0.297, allocations: 25.77 kB / 0.9558 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.297, allocations: 0 / 0.9558 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000215/0.2972, allocations: 109 kB / 0.9559 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.2972, allocations: 0 / 0.9559 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0003272/0.2976, allocations: 125.4 kB / 0.956 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.2976, allocations: 77.11 kB / 0.9561 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.2979, allocations: 219.5 kB / 0.9563 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.104e-05/0.2979, allocations: 33.64 kB / 0.9563 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.298, allocations: 143.8 kB / 0.9564 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.2981, allocations: 19.8 kB / 0.9565 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.2982, allocations: 65.67 kB / 0.9565 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.2983, allocations: 330.8 kB / 0.9568 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.2985, allocations: 63.95 kB / 0.9569 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.2986, allocations: 114.8 kB / 0.957 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/0.2989, allocations: 198.1 kB / 0.9572 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.2989, allocations: 4 kB / 0.9572 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004906/0.2994, allocations: 300.6 kB / 0.9575 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.941e-05/0.2995, allocations: 69.58 kB / 0.9576 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.2995, allocations: 0 / 0.9576 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.2995, allocations: 4 kB / 0.9576 GB, free: 1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.219e-05/0.2996, allocations: 8 kB / 0.9576 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.2996, allocations: 7.922 kB / 0.9576 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003493/0.3, allocations: 60.06 kB / 0.9576 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.3, allocations: 15.98 kB / 0.9577 GB, free: 0.9102 MB / 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.0001644/0.3002, allocations: 148.8 kB / 0.9578 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.3002, allocations: 15.81 kB / 0.9578 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.877e-05/0.3002, allocations: 16.92 kB / 0.9578 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.3003, allocations: 0 / 0.9578 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3003, allocations: 0 / 0.9578 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.3003, allocations: 4 kB / 0.9578 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/0.3005, allocations: 237.5 kB / 0.9581 GB, free: 456 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3005, allocations: 0 / 0.9581 GB, free: 456 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.03e-05/0.3005, allocations: 7.938 kB / 0.9581 GB, free: 448 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3006, allocations: 0 / 0.9581 GB, free: 448 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.3006, allocations: 3.984 kB / 0.9581 GB, free: 444 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.3006, allocations: 4 kB / 0.9581 GB, free: 440 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.3006, allocations: 0 / 0.9581 GB, free: 440 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/0.3008, allocations: 141.7 kB / 0.9582 GB, free: 276 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.734e-05/0.3008, allocations: 88.92 kB / 0.9583 GB, free: 168 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.3009, allocations: 7.938 kB / 0.9583 GB, free: 160 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.193e-05/0.3009, allocations: 4 kB / 0.9583 GB, free: 156 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.249e-05/0.3009, allocations: 8.453 kB / 0.9583 GB, free: 148 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.301, allocations: 4 kB / 0.9583 GB, free: 144 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000146/0.3011, allocations: 149.5 kB / 0.9585 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3011, allocations: 0 / 0.9585 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002829/0.3014, allocations: 47.77 kB / 0.9585 GB, free: 15.95 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.0001734/0.3016, allocations: 113.2 kB / 0.9586 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003866/0.302, allocations: 258.7 kB / 0.9589 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.302, allocations: 3.938 kB / 0.9589 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 6.323e-05/0.3021, allocations: 32 kB / 0.9589 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.3024, allocations: 44.06 kB / 0.9589 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006341/0.303, allocations: 338.5 kB / 0.9593 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.3034, allocations: 0.7241 MB / 0.96 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.28e-05/0.3034, allocations: 27.44 kB / 0.96 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.3034, allocations: 0 / 0.96 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of Templates: time 0.004802/0.3082, allocations: 2.461 MB / 0.9624 GB, free: 11.89 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 -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