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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008906/0.0008906, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8745/0.8745, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.78/1.78, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.587e-06/3.587e-06, allocations: 0 / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.574e-05/2.933e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001573/0.001602, allocations: 0.8321 MB / 1 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.002972, allocations: 1.323 MB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.557e-05/0.003038, allocations: 3.938 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.003147, allocations: 23.75 kB / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.086e-05/0.003218, allocations: 35.7 kB / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006081/0.003826, allocations: 269.6 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002875/0.004113, allocations: 327.4 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.004246, allocations: 45.66 kB / 1.002 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.004424, allocations: 183.7 kB / 1.003 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.004554, allocations: 83.75 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.416e-05/0.004588, allocations: 28 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.601e-05/0.004674, allocations: 51.92 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.902e-05/0.004773, allocations: 55.77 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 9.806e-05/0.004871, allocations: 83.81 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003101/0.005181, allocations: 386.9 kB / 1.003 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.005183, allocations: 0 / 1.003 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.272e-06/0.005185, allocations: 0 / 1.003 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.00519, allocations: 4 kB / 1.003 GB, free: 9.789 MB / 0.9636 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.0005671/0.005757, allocations: 480.7 kB / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.005799, allocations: 8.75 kB / 1.004 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.628e-05/0.005835, allocations: 50.73 kB / 1.004 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000249/0.006084, allocations: 68.75 kB / 1.004 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003902/0.006474, allocations: 233.5 kB / 1.004 GB, free: 8.887 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.006494, allocations: 16.38 kB / 1.004 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.00652, allocations: 16.38 kB / 1.004 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.006704, allocations: 157.5 kB / 1.004 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.006715, allocations: 192 / 1.004 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.006729, allocations: 8.359 kB / 1.004 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.006735, allocations: 3.938 kB / 1.004 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.688e-05/0.006822, allocations: 67.91 kB / 1.004 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000568/0.00739, allocations: 0.6681 MB / 1.005 GB, free: 7.883 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.247e-05/0.007472, allocations: 57.2 kB / 1.005 GB, free: 7.809 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.086e-05/0.007503, allocations: 25.77 kB / 1.005 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.007517, allocations: 15.88 kB / 1.005 GB, free: 7.762 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001758/0.007693, allocations: 97.08 kB / 1.005 GB, free: 7.648 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 1.031e-06/0.007694, allocations: 0 / 1.005 GB, free: 7.648 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.0002278/0.007921, allocations: 133.5 kB / 1.005 GB, free: 7.512 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.007964, allocations: 81.11 kB / 1.005 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.008108, allocations: 211.8 kB / 1.006 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.008132, allocations: 33.7 kB / 1.006 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.731e-05/0.00821, allocations: 140.3 kB / 1.006 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.008225, allocations: 23.83 kB / 1.006 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.305e-05/0.008298, allocations: 65.67 kB / 1.006 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.696e-05/0.008385, allocations: 326.8 kB / 1.006 GB, free: 6.594 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.008504, allocations: 131.3 kB / 1.006 GB, free: 6.453 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.008653, allocations: 258 kB / 1.007 GB, free: 6.148 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.008798, allocations: 190.1 kB / 1.007 GB, free: 5.926 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.008801, allocations: 0 / 1.007 GB, free: 5.926 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003106/0.009111, allocations: 372.1 kB / 1.007 GB, free: 5.531 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.501e-05/0.009146, allocations: 59.41 kB / 1.007 GB, free: 5.461 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.009152, allocations: 4 kB / 1.007 GB, free: 5.457 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.009165, allocations: 3.984 kB / 1.007 GB, free: 5.453 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.743e-05/0.009213, allocations: 11.94 kB / 1.007 GB, free: 5.441 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.009219, allocations: 4 kB / 1.007 GB, free: 5.438 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.009384, allocations: 60.06 kB / 1.007 GB, free: 5.379 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.009403, allocations: 15.98 kB / 1.007 GB, free: 5.363 MB / 0.9636 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 9.918e-05/0.009502, allocations: 149.7 kB / 1.007 GB, free: 5.207 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.529e-05/0.009517, allocations: 19.84 kB / 1.007 GB, free: 5.188 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.044e-05/0.009548, allocations: 17.02 kB / 1.007 GB, free: 5.168 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.009549, allocations: 0 / 1.007 GB, free: 5.168 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.009554, allocations: 0 / 1.007 GB, free: 5.168 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.009558, allocations: 8 kB / 1.007 GB, free: 5.16 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.009688, allocations: 196.7 kB / 1.008 GB, free: 4.926 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.00969, allocations: 3.938 kB / 1.008 GB, free: 4.922 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.621e-05/0.009707, allocations: 11.98 kB / 1.008 GB, free: 4.91 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.009708, allocations: 0 / 1.008 GB, free: 4.91 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.009716, allocations: 4 kB / 1.008 GB, free: 4.906 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.009717, allocations: 0 / 1.008 GB, free: 4.906 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.009719, allocations: 3.984 kB / 1.008 GB, free: 4.902 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.009831, allocations: 133.8 kB / 1.008 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.662e-05/0.009848, allocations: 23.84 kB / 1.008 GB, free: 4.727 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.009863, allocations: 7.984 kB / 1.008 GB, free: 4.719 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.747e-05/0.009881, allocations: 4 kB / 1.008 GB, free: 4.715 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.539e-05/0.009906, allocations: 7.984 kB / 1.008 GB, free: 4.707 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.009912, allocations: 4 kB / 1.008 GB, free: 4.703 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.605e-05/0.009988, allocations: 145.5 kB / 1.008 GB, free: 4.562 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4e-08/0.009988, allocations: 0 / 1.008 GB, free: 4.562 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001746/0.01016, allocations: 43.89 kB / 1.008 GB, free: 4.52 MB / 0.9636 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.0003231/0.01049, allocations: 0.6785 MB / 1.009 GB, free: 3.812 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003089/0.01079, allocations: 294.4 kB / 1.009 GB, free: 3.488 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.0108, allocations: 4.062 kB / 1.009 GB, free: 3.484 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.469e-05/0.01083, allocations: 32.56 kB / 1.009 GB, free: 3.453 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.01104, allocations: 37.97 kB / 1.009 GB, free: 3.418 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.0129, allocations: 2.428 MB / 1.011 GB, free: 0.8008 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.708e-05/0.01298, allocations: 123.6 kB / 1.011 GB, free: 0.6641 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.463e-05/0.01303, allocations: 21.47 kB / 1.011 GB, free: 0.6367 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.551e-05/0.01309, allocations: 52.48 kB / 1.012 GB, free: 0.5859 MB / 0.9636 GB Notification: Performance of SimCode: time 4.91e-07/0.01309, allocations: 4 kB / 1.012 GB, free: 0.582 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01709/0.03018, allocations: 5.179 MB / 1.017 GB, free: 11.59 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.494/6.524, allocations: 14.5 kB / 1.017 GB, free: 11.57 MB / 0.9792 GB " [Timeout remaining time 293] (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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.643695445731282]