Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 107.8 kB / 15.99 MB, free: 5.914 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.001185/0.001185, allocations: 190.8 kB / 16.91 MB, free: 5.754 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.329/1.329, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.553/2.553, allocations: 469.8 MB / 0.7427 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 70.61 kB / 0.9087 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3124, allocations: 159.1 MB / 1.064 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001978/0.3144, allocations: 0.7682 MB / 1.065 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001696/0.3161, allocations: 1.252 MB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.627e-05/0.3162, allocations: 4 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.3163, allocations: 11.86 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.046e-05/0.3164, allocations: 11.86 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006318/0.317, allocations: 218.2 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003016/0.3173, allocations: 255.6 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.3174, allocations: 31.98 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.3176, allocations: 111.8 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002225/0.3178, allocations: 103.8 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.318, allocations: 20 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.009e-05/0.3181, allocations: 31.92 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.303e-05/0.3181, allocations: 31.92 kB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.3182, allocations: 83.62 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.3184, allocations: 163.9 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3184, allocations: 4 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3185, allocations: 0 / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.3185, allocations: 0 / 1.067 GB, free: 12 MB / 0.8419 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.0006565/0.3191, allocations: 494.4 kB / 1.068 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.3192, allocations: 12.03 kB / 1.068 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.596e-05/0.3192, allocations: 20.75 kB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000585/0.3198, allocations: 258.5 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.3199, allocations: 12.38 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.3199, allocations: 20.31 kB / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.3201, allocations: 123.5 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3201, allocations: 3.938 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.3202, allocations: 7.984 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3202, allocations: 4 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.24e-05/0.3203, allocations: 47.91 kB / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000681/0.3209, allocations: 0.6649 MB / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.234e-05/0.321, allocations: 41.16 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.652e-05/0.3211, allocations: 21.77 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.913e-06/0.3211, allocations: 0 / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001933/0.3213, allocations: 96.97 kB / 1.069 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.3213, allocations: 0 / 1.069 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6): time 0.0002329/0.3215, allocations: 105.4 kB / 1.069 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.3216, allocations: 81.09 kB / 1.069 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002516/0.3218, allocations: 173.6 kB / 1.069 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.924e-05/0.3219, allocations: 33.7 kB / 1.069 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.322, allocations: 115.9 kB / 1.069 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.322, allocations: 19.8 kB / 1.069 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.908e-05/0.3221, allocations: 57.69 kB / 1.069 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3223, allocations: 318.8 kB / 1.07 GB, free: 9.031 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.3224, allocations: 55.91 kB / 1.07 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.3226, allocations: 110.8 kB / 1.07 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000265/0.3229, allocations: 174.2 kB / 1.07 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.3229, allocations: 4 kB / 1.07 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004293/0.3233, allocations: 264.7 kB / 1.07 GB, free: 8.355 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.175e-05/0.3234, allocations: 67.39 kB / 1.07 GB, free: 8.277 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3234, allocations: 8 kB / 1.07 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.3234, allocations: 4 kB / 1.07 GB, free: 8.266 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.87e-05/0.3234, allocations: 3.938 kB / 1.07 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.3234, allocations: 7.984 kB / 1.07 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003007/0.3238, allocations: 52.08 kB / 1.07 GB, free: 8.203 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.3238, allocations: 19.98 kB / 1.071 GB, free: 8.184 MB / 0.8419 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 0.0001347/0.3239, allocations: 137.8 kB / 1.071 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.848e-05/0.324, allocations: 11.84 kB / 1.071 GB, free: 8.027 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.707e-05/0.324, allocations: 16.23 kB / 1.071 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.324, allocations: 0 / 1.071 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.324, allocations: 0 / 1.071 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.324, allocations: 4 kB / 1.071 GB, free: 8 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.3242, allocations: 201.6 kB / 1.071 GB, free: 7.754 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.3242, allocations: 3.938 kB / 1.071 GB, free: 7.75 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.967e-06/0.3242, allocations: 3.938 kB / 1.071 GB, free: 7.746 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.3242, allocations: 4 kB / 1.071 GB, free: 7.742 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.3242, allocations: 0 / 1.071 GB, free: 7.742 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3243, allocations: 3.938 kB / 1.071 GB, free: 7.738 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3243, allocations: 4 kB / 1.071 GB, free: 7.734 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.3244, allocations: 117.9 kB / 1.071 GB, free: 7.598 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.559e-05/0.3245, allocations: 92.86 kB / 1.071 GB, free: 7.488 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.3245, allocations: 4.359 kB / 1.071 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.092e-05/0.3245, allocations: 0 / 1.071 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.728e-05/0.3246, allocations: 8 kB / 1.071 GB, free: 7.477 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.597e-06/0.3246, allocations: 11.92 kB / 1.071 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.117e-05/0.3247, allocations: 112.3 kB / 1.071 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3247, allocations: 0 / 1.071 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002383/0.3249, allocations: 36 kB / 1.071 GB, free: 7.32 MB / 0.8419 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.0001394/0.3251, allocations: 111.2 kB / 1.071 GB, free: 7.203 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003379/0.3254, allocations: 238.7 kB / 1.072 GB, free: 6.945 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3254, allocations: 0 / 1.072 GB, free: 6.945 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.016e-05/0.3255, allocations: 27.92 kB / 1.072 GB, free: 6.918 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.3257, allocations: 28.45 kB / 1.072 GB, free: 6.891 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004744/0.3262, allocations: 301.9 kB / 1.072 GB, free: 6.562 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004666/0.3267, allocations: 0.7119 MB / 1.073 GB, free: 5.824 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.852e-05/0.3267, allocations: 15.44 kB / 1.073 GB, free: 5.809 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3267, allocations: 0 / 1.073 GB, free: 5.809 MB / 0.8419 GB Notification: Performance of Templates: time 0.003811/0.3305, allocations: 1.851 MB / 1.074 GB, free: 3.969 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches