Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: 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_10_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_10_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.001727/0.001727, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001881/0.001882, allocations: 196.9 kB / 16.54 MB, free: 6.672 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.551/1.551, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.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.796/2.796, allocations: 437 MB / 0.7104 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 67.89 kB / 0.8692 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7998/0.8019, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.003084/0.805, allocations: 0.7173 MB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002274/0.8073, allocations: 1.237 MB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.801e-05/0.8074, allocations: 0 / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.8076, allocations: 15.86 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.254e-05/0.8077, allocations: 7.875 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.8088, allocations: 239.2 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0005218/0.8093, allocations: 255.7 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.8095, allocations: 43.91 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.8097, allocations: 99.75 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000303/0.81, allocations: 95.75 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.776e-05/0.8101, allocations: 20 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.8102, allocations: 31.98 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.1e-05/0.8103, allocations: 35.92 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.8105, allocations: 83.62 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003448/0.8108, allocations: 213.4 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.8108, allocations: 3.984 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8108, allocations: 4 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.8109, allocations: 0 / 1.02 GB, free: 15.37 MB / 0.7794 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.0008729/0.8117, allocations: 0.4905 MB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.8118, allocations: 8.031 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.948e-05/0.8119, allocations: 20.84 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006992/0.8126, allocations: 270 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.8126, allocations: 16.38 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.606e-05/0.8127, allocations: 16.38 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.8129, allocations: 127.5 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.813, allocations: 3.938 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.813, allocations: 8 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.813, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.8131, allocations: 55.84 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008277/0.814, allocations: 0.6649 MB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.019e-05/0.8141, allocations: 41.22 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.605e-05/0.8141, allocations: 25.7 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.8141, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002516/0.8144, allocations: 89.03 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.8144, allocations: 4 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0002951/0.8147, allocations: 101.5 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/0.8148, allocations: 77.11 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.815, allocations: 180.7 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.715e-05/0.815, allocations: 29.7 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.8151, allocations: 119.8 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.8152, allocations: 15.89 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.8153, allocations: 57.59 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001987/0.8155, allocations: 326.8 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.8157, allocations: 63.89 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.8159, allocations: 98.34 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002739/0.8161, allocations: 182.1 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.8162, allocations: 0 / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005247/0.8167, allocations: 264.9 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.367e-05/0.8168, allocations: 67.39 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.8168, allocations: 0 / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.601e-05/0.8168, allocations: 4.375 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.762e-05/0.8169, allocations: 11.92 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.8169, allocations: 0 / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003542/0.8172, allocations: 63.84 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/0.8173, allocations: 16 kB / 1.024 GB, free: 11.53 MB / 0.7794 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.0001749/0.8175, allocations: 137.8 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.8175, allocations: 15.83 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/0.8175, allocations: 16.23 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.8176, allocations: 0 / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.8176, allocations: 0 / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.8176, allocations: 4 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.8178, allocations: 197.6 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.8178, allocations: 7.938 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.262e-05/0.8178, allocations: 8 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.8178, allocations: 0 / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.8179, allocations: 0 / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.8179, allocations: 3.984 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.8179, allocations: 4 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.8181, allocations: 109.9 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.583e-05/0.8181, allocations: 100.9 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.8182, allocations: 0 / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.182e-05/0.8182, allocations: 0 / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.8182, allocations: 11.98 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.8183, allocations: 4 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001069/0.8184, allocations: 117.9 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2e-07/0.8184, allocations: 4 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002721/0.8187, allocations: 35.84 kB / 1.024 GB, free: 10.67 MB / 0.7794 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.0001915/0.8189, allocations: 107.2 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003976/0.8193, allocations: 234.6 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.8193, allocations: 0 / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.051e-05/0.8193, allocations: 23.98 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.8196, allocations: 23.92 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005374/0.8201, allocations: 240.9 kB / 1.025 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.8206, allocations: 0.7158 MB / 1.026 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.997e-05/0.8206, allocations: 8.891 kB / 1.026 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.318e-05/0.8206, allocations: 11.44 kB / 1.026 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.8206, allocations: 0 / 1.026 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of Templates: time 0.00585/0.8265, allocations: 1.843 MB / 1.028 GB, free: 7.395 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches