Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_10_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.004824/0.004824, allocations: 100.5 kB / 15.73 MB, free: 6.02 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.001166/0.001167, allocations: 189.7 kB / 16.67 MB, free: 5.938 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.35/2.35, allocations: 437.1 MB / 0.7105 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 72.11 kB / 1.018 GB, free: 9.863 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6142/0.6162, allocations: 151.6 MB / 1.166 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001847/0.6181, allocations: 0.868 MB / 1.167 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001522/0.6197, allocations: 1.304 MB / 1.168 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.671e-05/0.6197, allocations: 0 / 1.168 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 9.604e-05/0.6198, allocations: 19.73 kB / 1.168 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.599e-05/0.6199, allocations: 27.78 kB / 1.168 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006439/0.6205, allocations: 268.9 kB / 1.169 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003639/0.6209, allocations: 351.2 kB / 1.169 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.6211, allocations: 53.47 kB / 1.169 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.6212, allocations: 131.7 kB / 1.169 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.6214, allocations: 99.58 kB / 1.169 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.395e-05/0.6214, allocations: 36 kB / 1.169 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.6216, allocations: 59.95 kB / 1.169 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.976e-05/0.6216, allocations: 47.84 kB / 1.169 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.6218, allocations: 107.5 kB / 1.169 GB, free: 396 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003504/0.6221, allocations: 350.5 kB / 1.17 GB, free: 52 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.6221, allocations: 3.938 kB / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6221, allocations: 0 / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.6221, allocations: 0 / 1.17 GB, free: 48 kB / 0.8887 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.0006459/0.6228, allocations: 0.5525 MB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 2.912e-05/0.6228, allocations: 16.92 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.458e-05/0.6229, allocations: 42.73 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.636e-05/0.6229, allocations: 32.67 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000574/0.6235, allocations: 297.7 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.6236, allocations: 12.38 kB / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.723e-05/0.6236, allocations: 20.38 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.6238, allocations: 157.3 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.6238, allocations: 4 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.6239, allocations: 4 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.6239, allocations: 4 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.624, allocations: 59.91 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007296/0.6247, allocations: 0.7587 MB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.933e-05/0.6248, allocations: 57.2 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.455e-05/0.6249, allocations: 25.7 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.6249, allocations: 8 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/0.6251, allocations: 105 kB / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.6251, allocations: 0 / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0002665/0.6253, allocations: 133.8 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.6254, allocations: 77.11 kB / 1.172 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.6256, allocations: 215.8 kB / 1.172 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.382e-05/0.6256, allocations: 33.7 kB / 1.172 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.6258, allocations: 148.2 kB / 1.172 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.6258, allocations: 19.83 kB / 1.172 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.6259, allocations: 69.67 kB / 1.173 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.626, allocations: 326.8 kB / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.6262, allocations: 67.95 kB / 1.173 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.6264, allocations: 134.5 kB / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002313/0.6266, allocations: 194.2 kB / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6266, allocations: 0 / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004676/0.6271, allocations: 292.8 kB / 1.174 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.949e-05/0.6271, allocations: 63.34 kB / 1.174 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.6272, allocations: 4 kB / 1.174 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.6272, allocations: 8.188 kB / 1.174 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.465e-05/0.6272, allocations: 7.984 kB / 1.174 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.6272, allocations: 4 kB / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003709/0.6276, allocations: 71.81 kB / 1.174 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.541e-05/0.6277, allocations: 19.98 kB / 1.174 GB, free: 11.66 MB / 0.9044 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.0001425/0.6278, allocations: 156.5 kB / 1.174 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.6278, allocations: 15.91 kB / 1.174 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.456e-05/0.6279, allocations: 12.94 kB / 1.174 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.6279, allocations: 0 / 1.174 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.6279, allocations: 7.922 kB / 1.174 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.6279, allocations: 4 kB / 1.174 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.6281, allocations: 237.5 kB / 1.174 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.6281, allocations: 0 / 1.174 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.306e-05/0.6281, allocations: 4 kB / 1.174 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.6282, allocations: 0 / 1.174 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.6282, allocations: 7.938 kB / 1.174 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.6282, allocations: 4 kB / 1.174 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.6282, allocations: 0 / 1.174 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/0.6284, allocations: 145.7 kB / 1.174 GB, free: 11 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.551e-05/0.6284, allocations: 93 kB / 1.174 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.6285, allocations: 0 / 1.174 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.747e-05/0.6285, allocations: 0 / 1.174 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.638e-05/0.6285, allocations: 15.98 kB / 1.174 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-06/0.6285, allocations: 4 kB / 1.174 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001165/0.6287, allocations: 140.2 kB / 1.175 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6287, allocations: 0 / 1.175 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002505/0.6289, allocations: 47.89 kB / 1.175 GB, free: 10.69 MB / 0.9044 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.000479/0.6294, allocations: 0.6842 MB / 1.175 GB, free: 9.973 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003595/0.6298, allocations: 258.7 kB / 1.175 GB, free: 9.695 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.6298, allocations: 0 / 1.175 GB, free: 9.695 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 6.106e-05/0.6298, allocations: 31.92 kB / 1.175 GB, free: 9.664 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.6301, allocations: 40.28 kB / 1.176 GB, free: 9.625 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/0.6326, allocations: 2.178 MB / 1.178 GB, free: 7.316 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.6329, allocations: 0.728 MB / 1.178 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.633e-05/0.633, allocations: 25.53 kB / 1.178 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.932e-05/0.6331, allocations: 55.36 kB / 1.178 GB, free: 6.48 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.6331, allocations: 0 / 1.178 GB, free: 6.48 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6801/1.313, allocations: 4.381 MB / 1.183 GB, free: 2.266 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/12.34, allocations: 20.44 kB / 1.183 GB, free: 2.25 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches