Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008016/0.0008016, allocations: 76.44 kB / 19.17 MB, free: 0.7305 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.0008394/0.0008394, allocations: 169.9 kB / 22.46 MB, free: 2.094 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.8906/0.8906, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.705/1.705, allocations: 377.9 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.9809 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.72e-05/1.922e-05, allocations: 9.375 kB / 0.981 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001409/0.001428, allocations: 0.8437 MB / 0.9818 GB, free: 1.746 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.002664, allocations: 1.322 MB / 0.9831 GB, free: 420 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.038e-05/0.002714, allocations: 3.938 kB / 0.9831 GB, free: 416 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 9.622e-05/0.00281, allocations: 19.8 kB / 0.9831 GB, free: 396 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.363e-05/0.002874, allocations: 35.72 kB / 0.9831 GB, free: 360 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005637/0.003438, allocations: 259.4 kB / 0.9834 GB, free: 108 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0003161/0.003754, allocations: 327.5 kB / 0.9837 GB, free: 15.78 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.003908, allocations: 49.59 kB / 0.9837 GB, free: 15.73 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.004091, allocations: 183.7 kB / 0.9839 GB, free: 15.55 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.004218, allocations: 91.59 kB / 0.984 GB, free: 15.46 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.396e-05/0.004252, allocations: 32 kB / 0.984 GB, free: 15.43 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.808e-05/0.004331, allocations: 51.92 kB / 0.9841 GB, free: 15.38 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.66e-05/0.004387, allocations: 51.78 kB / 0.9841 GB, free: 15.33 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.391e-05/0.004461, allocations: 83.81 kB / 0.9842 GB, free: 15.25 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000276/0.004737, allocations: 390.9 kB / 0.9846 GB, free: 14.87 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.004739, allocations: 0 / 0.9846 GB, free: 14.87 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.152e-06/0.00474, allocations: 0 / 0.9846 GB, free: 14.87 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.004744, allocations: 0 / 0.9846 GB, free: 14.87 MB / 0.948 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.0004957/0.00524, allocations: 480.7 kB / 0.985 GB, free: 14.35 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.005276, allocations: 8.031 kB / 0.985 GB, free: 14.34 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.972e-05/0.005306, allocations: 50.75 kB / 0.9851 GB, free: 14.29 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002184/0.005524, allocations: 64.75 kB / 0.9852 GB, free: 14.22 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003538/0.005878, allocations: 241.2 kB / 0.9854 GB, free: 13.96 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.005897, allocations: 20.31 kB / 0.9854 GB, free: 13.94 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.005924, allocations: 20.36 kB / 0.9854 GB, free: 13.92 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000412/0.006336, allocations: 141.6 kB / 0.9856 GB, free: 13.77 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.006343, allocations: 192 / 0.9856 GB, free: 13.77 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.006355, allocations: 8.375 kB / 0.9856 GB, free: 13.76 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.006361, allocations: 7.875 kB / 0.9856 GB, free: 13.75 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.298e-05/0.006444, allocations: 75.89 kB / 0.9856 GB, free: 13.68 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005121/0.006956, allocations: 0.6719 MB / 0.9863 GB, free: 12.95 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.449e-05/0.00703, allocations: 61.23 kB / 0.9864 GB, free: 12.87 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.409e-05/0.007054, allocations: 17.78 kB / 0.9864 GB, free: 12.85 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.007065, allocations: 7.938 kB / 0.9864 GB, free: 12.84 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001434/0.007209, allocations: 101 kB / 0.9865 GB, free: 12.72 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 8.52e-07/0.007209, allocations: 4 kB / 0.9865 GB, free: 12.72 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.00021/0.007419, allocations: 125.5 kB / 0.9866 GB, free: 12.59 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.00746, allocations: 85.11 kB / 0.9867 GB, free: 12.49 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.00759, allocations: 215.8 kB / 0.9869 GB, free: 12.27 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.007612, allocations: 29.7 kB / 0.9869 GB, free: 12.23 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.474e-05/0.007686, allocations: 144.3 kB / 0.9871 GB, free: 12.09 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.222e-05/0.007699, allocations: 19.84 kB / 0.9871 GB, free: 12.07 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.851e-05/0.007767, allocations: 61.67 kB / 0.9871 GB, free: 12 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.182e-05/0.007839, allocations: 326.8 kB / 0.9874 GB, free: 11.67 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.007956, allocations: 131.4 kB / 0.9876 GB, free: 11.53 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.008099, allocations: 247.3 kB / 0.9878 GB, free: 11.23 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.008239, allocations: 198.2 kB / 0.988 GB, free: 11 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.008241, allocations: 0 / 0.988 GB, free: 11 MB / 0.948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003091/0.00855, allocations: 364.1 kB / 0.9883 GB, free: 10.62 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.632e-05/0.008586, allocations: 75.52 kB / 0.9884 GB, free: 10.53 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.892e-06/0.008592, allocations: 4 kB / 0.9884 GB, free: 10.53 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.008603, allocations: 0 / 0.9884 GB, free: 10.53 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.321e-05/0.008646, allocations: 8 kB / 0.9884 GB, free: 10.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.008652, allocations: 7.938 kB / 0.9884 GB, free: 10.51 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.008818, allocations: 55.89 kB / 0.9885 GB, free: 10.46 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.008838, allocations: 15.98 kB / 0.9885 GB, free: 10.44 MB / 0.948 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.459e-05/0.008932, allocations: 152 kB / 0.9887 GB, free: 10.29 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/0.008948, allocations: 19.84 kB / 0.9887 GB, free: 10.27 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.076e-05/0.008979, allocations: 17.02 kB / 0.9887 GB, free: 10.25 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.008981, allocations: 0 / 0.9887 GB, free: 10.25 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.008985, allocations: 480 / 0.9887 GB, free: 10.25 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.008989, allocations: 4 kB / 0.9887 GB, free: 10.25 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.009104, allocations: 196.7 kB / 0.9889 GB, free: 10.01 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.009107, allocations: 7.938 kB / 0.9889 GB, free: 10 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.442e-05/0.009121, allocations: 7.938 kB / 0.9889 GB, free: 9.996 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.009123, allocations: 4 kB / 0.9889 GB, free: 9.992 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.00913, allocations: 8 kB / 0.9889 GB, free: 9.984 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.009131, allocations: 3.938 kB / 0.9889 GB, free: 9.98 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.009133, allocations: 3.984 kB / 0.9889 GB, free: 9.977 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.009241, allocations: 129.9 kB / 0.989 GB, free: 9.828 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.587e-05/0.009257, allocations: 23.84 kB / 0.9891 GB, free: 9.805 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.009269, allocations: 0 / 0.9891 GB, free: 9.805 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.746e-05/0.009286, allocations: 4 kB / 0.9891 GB, free: 9.801 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.235e-05/0.009309, allocations: 7.984 kB / 0.9891 GB, free: 9.793 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.009314, allocations: 4 kB / 0.9891 GB, free: 9.789 MB / 0.948 GB Notification: Performance of sorting global known variables: time 7.576e-05/0.009389, allocations: 149.5 kB / 0.9892 GB, free: 9.645 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.009389, allocations: 4 kB / 0.9892 GB, free: 9.641 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001723/0.009562, allocations: 47.88 kB / 0.9893 GB, free: 9.594 MB / 0.948 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.0002906/0.009852, allocations: 0.6767 MB / 0.9899 GB, free: 8.887 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002588/0.01011, allocations: 298 kB / 0.9902 GB, free: 8.559 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.01011, allocations: 4 kB / 0.9902 GB, free: 8.555 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.222e-05/0.01015, allocations: 23.98 kB / 0.9902 GB, free: 8.531 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.01033, allocations: 38.69 kB / 0.9903 GB, free: 8.496 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.01224, allocations: 2.428 MB / 0.9926 GB, free: 5.871 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.451e-05/0.01231, allocations: 127.4 kB / 0.9928 GB, free: 5.723 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.366e-05/0.01236, allocations: 17.48 kB / 0.9928 GB, free: 5.707 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.376e-05/0.01241, allocations: 52.48 kB / 0.9928 GB, free: 5.656 MB / 0.948 GB Notification: Performance of SimCode: time 4.81e-07/0.01241, allocations: 0 / 0.9928 GB, free: 5.656 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01622/0.02863, allocations: 5.203 MB / 0.9979 GB, free: 0.6719 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.867/6.895, allocations: 5.781 kB / 0.9979 GB, free: 0.668 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.8781110746786]