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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008812/0.0008813, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.0009191/0.000919, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.748/2.748, allocations: 437.7 MB / 0.7117 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003772/0.0003774, allocations: 11.98 kB / 0.8722 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.78/0.7804, allocations: 153.8 MB / 1.022 GB, free: 88 kB / 0.7638 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.0009783/0.7814, allocations: 440.1 kB / 1.023 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001762/0.7832, allocations: 1.214 MB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.037e-05/0.7833, allocations: 3.938 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001031/0.7834, allocations: 15.88 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.693e-05/0.7835, allocations: 7.922 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008449/0.7843, allocations: 215.6 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002707/0.7846, allocations: 195.6 kB / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.7847, allocations: 35.95 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002258/0.785, allocations: 87.81 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003212/0.7853, allocations: 95.75 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.613e-05/0.7854, allocations: 12 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.7855, allocations: 19.98 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.656e-05/0.7856, allocations: 23.92 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.035e-05/0.7857, allocations: 49.64 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.7859, allocations: 153.6 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.7859, allocations: 0 / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.934e-06/0.7859, allocations: 4 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.786, allocations: 0 / 1.025 GB, free: 13.53 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.0006679/0.7866, allocations: 458.2 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/0.7867, allocations: 16.56 kB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.915e-05/0.7868, allocations: 19.75 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000672/0.7875, allocations: 262.6 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.7875, allocations: 11.95 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.688e-05/0.7876, allocations: 20 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002588/0.7879, allocations: 126.6 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.7879, allocations: 3.938 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.7879, allocations: 7.984 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.7879, allocations: 4 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.629e-05/0.788, allocations: 43.97 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008747/0.7889, allocations: 0.6766 MB / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.419e-05/0.789, allocations: 41.2 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.13e-05/0.789, allocations: 25.72 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.347e-06/0.789, allocations: 0 / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.7892, allocations: 89 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.7892, allocations: 0 / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0003211/0.7896, allocations: 101.5 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.7896, allocations: 81.11 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.7898, allocations: 175.6 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.7899, allocations: 29.7 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.79, allocations: 119.9 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.79, allocations: 11.81 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.983e-05/0.79, allocations: 4 kB / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.7902, allocations: 330.7 kB / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.7903, allocations: 51.97 kB / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.7905, allocations: 106.8 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.7906, allocations: 103.4 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.7906, allocations: 11.94 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004388/0.7911, allocations: 264.7 kB / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.551e-05/0.7911, allocations: 63.39 kB / 1.028 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.7911, allocations: 4 kB / 1.028 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.7912, allocations: 0 / 1.028 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.377e-05/0.7912, allocations: 7.938 kB / 1.028 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.7912, allocations: 4 kB / 1.028 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003234/0.7915, allocations: 80.03 kB / 1.028 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.875e-05/0.7916, allocations: 15.98 kB / 1.028 GB, free: 9.875 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 ($PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$PRE.booPul1.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001505/0.7917, allocations: 142.4 kB / 1.028 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.7918, allocations: 7.906 kB / 1.028 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.485e-05/0.7918, allocations: 12.25 kB / 1.028 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.7918, allocations: 0 / 1.028 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.7918, allocations: 4 kB / 1.028 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.7918, allocations: 4.078 kB / 1.028 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.792, allocations: 205.9 kB / 1.028 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.792, allocations: 0 / 1.028 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.616e-05/0.7921, allocations: 15.92 kB / 1.028 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.7921, allocations: 0 / 1.028 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.7921, allocations: 4 kB / 1.029 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.7921, allocations: 4 kB / 1.029 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.7921, allocations: 0 / 1.029 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.7923, allocations: 113.8 kB / 1.029 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.148e-05/0.7923, allocations: 88.92 kB / 1.029 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.7924, allocations: 4 kB / 1.029 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.353e-05/0.7924, allocations: 4 kB / 1.029 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.7924, allocations: 8.047 kB / 1.029 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.7924, allocations: 8 kB / 1.029 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.225e-05/0.7925, allocations: 122.5 kB / 1.029 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7925, allocations: 0 / 1.029 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002687/0.7928, allocations: 35.94 kB / 1.029 GB, free: 9.008 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001807/0.793, allocations: 111.2 kB / 1.029 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003643/0.7934, allocations: 234.7 kB / 1.029 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.7934, allocations: 0 / 1.029 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.044e-05/0.7934, allocations: 23.94 kB / 1.029 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.7937, allocations: 24.66 kB / 1.029 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005493/0.7943, allocations: 265.4 kB / 1.03 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/0.7947, allocations: 0.7122 MB / 1.03 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.95e-05/0.7947, allocations: 12.88 kB / 1.03 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.236e-05/0.7948, allocations: 15.44 kB / 1.03 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of SimCode: time 5.91e-07/0.7948, allocations: 0 / 1.03 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of Templates: time 0.005456/0.8002, allocations: 1.698 MB / 1.032 GB, free: 5.855 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=480 -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