Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006614/0.006614, allocations: 95.98 kB / 15.73 MB, free: 6.039 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.001716/0.001716, allocations: 201 kB / 16.68 MB, free: 5.969 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.273/1.273, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.779/2.779, allocations: 482.6 MB / 0.755 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 75.88 kB / 1.083 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2773, allocations: 162.3 MB / 1.242 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001884/0.2792, allocations: 0.8785 MB / 1.243 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001547/0.2808, allocations: 1.279 MB / 1.244 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.05e-05/0.2808, allocations: 7.938 kB / 1.244 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 9.149e-05/0.2809, allocations: 15.81 kB / 1.244 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.344e-05/0.281, allocations: 31.77 kB / 1.244 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000677/0.2817, allocations: 254.5 kB / 1.244 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003757/0.2821, allocations: 351.3 kB / 1.245 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.2822, allocations: 61.45 kB / 1.245 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.2824, allocations: 127.7 kB / 1.245 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.2825, allocations: 111.6 kB / 1.245 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.237e-05/0.2826, allocations: 32 kB / 1.245 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.2827, allocations: 55.98 kB / 1.245 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.561e-05/0.2828, allocations: 39.91 kB / 1.245 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.2829, allocations: 127.4 kB / 1.245 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003664/0.2833, allocations: 346.8 kB / 1.245 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.706e-06/0.2833, allocations: 0 / 1.245 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.193e-06/0.2833, allocations: 0 / 1.245 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.2833, allocations: 0 / 1.245 GB, free: 6.195 MB / 0.9981 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.0006642/0.284, allocations: 0.5525 MB / 1.246 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.284, allocations: 8.031 kB / 1.246 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.383e-05/0.2841, allocations: 46.75 kB / 1.246 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.372e-05/0.2842, allocations: 28.8 kB / 1.246 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005995/0.2848, allocations: 301.6 kB / 1.246 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.2848, allocations: 16.38 kB / 1.246 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.391e-05/0.2849, allocations: 20.36 kB / 1.246 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.2851, allocations: 162.1 kB / 1.247 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.2851, allocations: 0 / 1.247 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.2852, allocations: 0 / 1.247 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.2852, allocations: 4 kB / 1.247 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.2853, allocations: 79.83 kB / 1.247 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008567/0.2862, allocations: 0.7507 MB / 1.247 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.2863, allocations: 65.23 kB / 1.247 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.223e-05/0.2864, allocations: 25.78 kB / 1.247 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.2864, allocations: 0 / 1.247 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001829/0.2866, allocations: 105 kB / 1.248 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 3.106e-06/0.2866, allocations: 0 / 1.248 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0003143/0.2869, allocations: 125.5 kB / 1.248 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.234e-05/0.287, allocations: 85.05 kB / 1.248 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.2872, allocations: 215.7 kB / 1.248 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.2873, allocations: 33.7 kB / 1.248 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.2874, allocations: 148.2 kB / 1.248 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.2874, allocations: 27.78 kB / 1.248 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.2875, allocations: 61.67 kB / 1.248 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.2877, allocations: 330.8 kB / 1.249 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.2879, allocations: 67.97 kB / 1.249 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.2881, allocations: 132.5 kB / 1.249 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/0.2883, allocations: 190.2 kB / 1.249 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2883, allocations: 0 / 1.249 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004911/0.2888, allocations: 296.7 kB / 1.249 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.079e-05/0.2889, allocations: 67.39 kB / 1.249 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2889, allocations: 0 / 1.249 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.2889, allocations: 4 kB / 1.249 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.128e-05/0.289, allocations: 12.19 kB / 1.249 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.289, allocations: 4 kB / 1.249 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004035/0.2894, allocations: 71.81 kB / 1.249 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.35e-05/0.2895, allocations: 15.98 kB / 1.249 GB, free: 1.805 MB / 0.9981 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.0001503/0.2896, allocations: 150.4 kB / 1.249 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.2897, allocations: 19.91 kB / 1.25 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.661e-05/0.2897, allocations: 20.92 kB / 1.25 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.2897, allocations: 4 kB / 1.25 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2897, allocations: 0 / 1.25 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.2897, allocations: 0 / 1.25 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/0.29, allocations: 233.5 kB / 1.25 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.29, allocations: 0 / 1.25 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.38e-05/0.29, allocations: 4.469 kB / 1.25 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.29, allocations: 0 / 1.25 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.29, allocations: 11.98 kB / 1.25 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.29, allocations: 4 kB / 1.25 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.29, allocations: 0 / 1.25 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001942/0.2902, allocations: 141.7 kB / 1.25 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.635e-05/0.2903, allocations: 89.02 kB / 1.25 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.2903, allocations: 8 kB / 1.25 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.35e-05/0.2904, allocations: 3.984 kB / 1.25 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.2904, allocations: 11.94 kB / 1.25 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.2904, allocations: 0 / 1.25 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001254/0.2905, allocations: 149.5 kB / 1.25 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2906, allocations: 0 / 1.25 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002678/0.2908, allocations: 51.89 kB / 1.25 GB, free: 0.8203 MB / 0.9981 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.0005517/0.2914, allocations: 0.6839 MB / 1.251 GB, free: 104 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.4864/0.7778, allocations: 249.3 kB / 1.251 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.7779, allocations: 3.125 kB / 1.251 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.686e-05/0.7779, allocations: 31.34 kB / 1.251 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.7783, allocations: 33.69 kB / 1.251 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002211/0.7805, allocations: 2.166 MB / 1.253 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.7807, allocations: 0.7268 MB / 1.254 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.028e-05/0.7808, allocations: 21.23 kB / 1.254 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.293e-05/0.7808, allocations: 55.06 kB / 1.254 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/0.7808, allocations: 3.688 kB / 1.254 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.633/2.414, allocations: 4.401 MB / 1.258 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.25/16.66, allocations: 13.64 kB / 1.258 GB, free: 12.11 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches