Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.0008704/0.0008704, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009892/0.0009892, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.928/0.928, allocations: 177.1 MB / 203.5 MB, free: 5.762 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.715/1.715, allocations: 377.8 MB / 0.6228 GB, free: 8.676 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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extBooSig.u.1.|extBooSig.u.2.|extBooSig.u.3.|extBooSig.u.4.|extBooSig.y.1.|extBooSig.y.2.|extBooSig.y.3.|extBooSig1.y.1.|extBooSig1.y.2.|extBooSig1.y.3.|extBooSig1.y.4.|extBooSig1.y.5.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extBooSig.u.1.|extBooSig.u.2.|extBooSig.u.3.|extBooSig.u.4.|extBooSig.y.1.|extBooSig.y.2.|extBooSig.y.3.|extBooSig1.y.1.|extBooSig1.y.2.|extBooSig1.y.3.|extBooSig1.y.4.|extBooSig1.y.5.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.9822 GB, free: 2.098 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.12e-05/2.329e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.094 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001206/0.001229, allocations: 0.7064 MB / 0.9829 GB, free: 1.391 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.002633, allocations: 1.279 MB / 0.9841 GB, free: 100 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.709e-05/0.00269, allocations: 0 / 0.9841 GB, free: 100 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.002806, allocations: 11.86 kB / 0.9841 GB, free: 88 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.487e-05/0.002861, allocations: 11.88 kB / 0.9842 GB, free: 76 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005827/0.003444, allocations: 245.3 kB / 0.9844 GB, free: 15.84 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002229/0.003667, allocations: 255.5 kB / 0.9846 GB, free: 15.59 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.003782, allocations: 19.98 kB / 0.9847 GB, free: 15.57 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.003934, allocations: 139.8 kB / 0.9848 GB, free: 15.43 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.004055, allocations: 71.81 kB / 0.9849 GB, free: 15.36 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.905e-05/0.004084, allocations: 20 kB / 0.9849 GB, free: 15.34 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.982e-05/0.004163, allocations: 35.98 kB / 0.9849 GB, free: 15.31 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 6.104e-05/0.004225, allocations: 35.84 kB / 0.9849 GB, free: 15.27 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.911e-05/0.004294, allocations: 67.88 kB / 0.985 GB, free: 15.21 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.00454, allocations: 263.2 kB / 0.9853 GB, free: 14.95 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.004542, allocations: 0 / 0.9853 GB, free: 14.95 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.322e-06/0.004544, allocations: 4 kB / 0.9853 GB, free: 14.95 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.004548, allocations: 4 kB / 0.9853 GB, free: 14.94 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004593/0.005007, allocations: 437 kB / 0.9857 GB, free: 14.47 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.005039, allocations: 8.031 kB / 0.9857 GB, free: 14.46 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002611/0.005301, allocations: 64.8 kB / 0.9858 GB, free: 14.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/0.005637, allocations: 195.6 kB / 0.9859 GB, free: 14.18 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.005653, allocations: 12.38 kB / 0.986 GB, free: 14.17 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.005677, allocations: 16.38 kB / 0.986 GB, free: 14.16 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.005824, allocations: 129.6 kB / 0.9861 GB, free: 14.01 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.005839, allocations: 4.125 kB / 0.9861 GB, free: 14.01 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.005852, allocations: 8.375 kB / 0.9861 GB, free: 14 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.005859, allocations: 4.125 kB / 0.9861 GB, free: 14 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.188e-05/0.005921, allocations: 47.97 kB / 0.9862 GB, free: 13.95 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004478/0.006369, allocations: 0.5749 MB / 0.9867 GB, free: 13.33 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.472e-05/0.006424, allocations: 49.08 kB / 0.9868 GB, free: 13.27 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.665e-05/0.00644, allocations: 13.78 kB / 0.9868 GB, free: 13.25 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/0.006448, allocations: 0 / 0.9868 GB, free: 13.25 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/0.00658, allocations: 97.05 kB / 0.9869 GB, free: 13.13 MB / 0.948 GB Notification: Performance of pre-optimization done (n=6): time 8.72e-07/0.006581, allocations: 0 / 0.9869 GB, free: 13.13 MB / 0.948 GB Notification: Performance of matching and sorting (n=6): time 0.0002014/0.006783, allocations: 109.5 kB / 0.987 GB, free: 13.02 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.006834, allocations: 81.11 kB / 0.987 GB, free: 12.92 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.006951, allocations: 172.2 kB / 0.9872 GB, free: 12.75 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.006973, allocations: 29.7 kB / 0.9872 GB, free: 12.71 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.016e-05/0.007044, allocations: 128 kB / 0.9874 GB, free: 12.58 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.928e-06/0.007054, allocations: 15.84 kB / 0.9874 GB, free: 12.57 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.742e-05/0.007121, allocations: 65.61 kB / 0.9874 GB, free: 12.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.878e-05/0.0072, allocations: 318.8 kB / 0.9877 GB, free: 12.18 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.007305, allocations: 115.4 kB / 0.9879 GB, free: 12.05 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.007438, allocations: 235.3 kB / 0.9881 GB, free: 11.77 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.00757, allocations: 170.5 kB / 0.9882 GB, free: 11.56 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.007573, allocations: 4 kB / 0.9882 GB, free: 11.56 MB / 0.948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002953/0.007868, allocations: 332.2 kB / 0.9886 GB, free: 11.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.674e-05/0.007905, allocations: 67.39 kB / 0.9886 GB, free: 11.12 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.00791, allocations: 0 / 0.9886 GB, free: 11.12 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.007922, allocations: 7.938 kB / 0.9886 GB, free: 11.12 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.415e-05/0.007937, allocations: 4 kB / 0.9886 GB, free: 11.11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.007943, allocations: 3.984 kB / 0.9886 GB, free: 11.11 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.008115, allocations: 68.08 kB / 0.9887 GB, free: 11.04 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.008134, allocations: 8 kB / 0.9887 GB, free: 11.04 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: 10 (booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4,booPul1.y,$PRE.booPul1.y,$whenCondition1,$whenCondition2,con.y,con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * 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 8.492e-05/0.008219, allocations: 137.8 kB / 0.9888 GB, free: 10.89 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/0.00823, allocations: 15.94 kB / 0.9889 GB, free: 10.88 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.598e-05/0.008256, allocations: 8.344 kB / 0.9889 GB, free: 10.87 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.008259, allocations: 7.938 kB / 0.9889 GB, free: 10.86 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.008263, allocations: 0 / 0.9889 GB, free: 10.86 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.008266, allocations: 0 / 0.9889 GB, free: 10.86 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.847e-05/0.008354, allocations: 145.3 kB / 0.989 GB, free: 10.69 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.008357, allocations: 12 kB / 0.989 GB, free: 10.68 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.228e-06/0.008361, allocations: 0 / 0.989 GB, free: 10.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.008362, allocations: 0 / 0.989 GB, free: 10.68 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.008369, allocations: 4 kB / 0.989 GB, free: 10.67 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.00837, allocations: 0 / 0.989 GB, free: 10.67 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.008372, allocations: 3.938 kB / 0.989 GB, free: 10.67 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.677e-05/0.008469, allocations: 117.8 kB / 0.9891 GB, free: 10.53 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.308e-06/0.008478, allocations: 8.047 kB / 0.9892 GB, free: 10.52 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.00849, allocations: 7.922 kB / 0.9892 GB, free: 10.52 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.398e-05/0.008504, allocations: 4 kB / 0.9892 GB, free: 10.51 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.282e-05/0.008527, allocations: 7.938 kB / 0.9892 GB, free: 10.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.008532, allocations: 11.98 kB / 0.9892 GB, free: 10.49 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.263e-05/0.008585, allocations: 115.9 kB / 0.9893 GB, free: 10.38 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.008585, allocations: 0 / 0.9893 GB, free: 10.38 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001731/0.008758, allocations: 39.89 kB / 0.9893 GB, free: 10.34 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: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0001094/0.008868, allocations: 111.1 kB / 0.9894 GB, free: 10.22 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002461/0.009114, allocations: 274 kB / 0.9897 GB, free: 9.914 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.009115, allocations: 0 / 0.9897 GB, free: 9.914 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.042e-05/0.009146, allocations: 20.48 kB / 0.9897 GB, free: 9.895 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001579/0.009303, allocations: 23.98 kB / 0.9897 GB, free: 9.871 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003281/0.009631, allocations: 272.6 kB / 0.99 GB, free: 9.566 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.009879, allocations: 97.77 kB / 0.9901 GB, free: 9.449 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.022e-05/0.009899, allocations: 16.5 kB / 0.9901 GB, free: 9.434 MB / 0.948 GB Notification: Performance of SimCode: time 6.51e-07/0.009899, allocations: 0 / 0.9901 GB, free: 9.434 MB / 0.948 GB Notification: Performance of Templates: time 0.002549/0.01245, allocations: 1.924 MB / 0.992 GB, free: 7.539 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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: 7.0084177097305655]