Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.008017/0.008017, allocations: 100.6 kB / 15.73 MB, free: 6.008 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.001763/0.001763, allocations: 189.6 kB / 16.67 MB, free: 5.934 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.52/1.52, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.729/2.729, allocations: 472.6 MB / 0.7453 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001987, allocations: 64.12 kB / 1.069 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9878/0.9898, allocations: 159.9 MB / 1.226 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001865/0.9917, allocations: 0.7151 MB / 1.226 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001599/0.9934, allocations: 1.244 MB / 1.228 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.245e-05/0.9934, allocations: 0 / 1.228 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.9936, allocations: 11.81 kB / 1.228 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.72e-05/0.9936, allocations: 19.84 kB / 1.228 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007548/0.9944, allocations: 246.3 kB / 1.228 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00031/0.9947, allocations: 247.7 kB / 1.228 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.9949, allocations: 47.91 kB / 1.228 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.995, allocations: 103.8 kB / 1.228 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.9952, allocations: 79.77 kB / 1.228 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.19e-05/0.9953, allocations: 16 kB / 1.228 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.9954, allocations: 47.97 kB / 1.228 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.382e-05/0.9955, allocations: 31.91 kB / 1.228 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.9956, allocations: 87.64 kB / 1.228 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002918/0.9959, allocations: 251.7 kB / 1.229 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.9959, allocations: 0 / 1.229 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9959, allocations: 0 / 1.229 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.9959, allocations: 0 / 1.229 GB, free: 10.43 MB / 0.9512 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.0007297/0.9966, allocations: 0.4983 MB / 1.229 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.9967, allocations: 8.031 kB / 1.229 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.966e-05/0.9968, allocations: 20.84 kB / 1.229 GB, free: 9.844 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005631/0.9974, allocations: 260.2 kB / 1.229 GB, free: 9.551 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.9974, allocations: 12.38 kB / 1.229 GB, free: 9.539 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.039e-05/0.9974, allocations: 16.38 kB / 1.229 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.9977, allocations: 129.5 kB / 1.23 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.9977, allocations: 3.938 kB / 1.23 GB, free: 9.375 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.9977, allocations: 8 kB / 1.23 GB, free: 9.367 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.9977, allocations: 0 / 1.23 GB, free: 9.367 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.122e-05/0.9978, allocations: 55.91 kB / 1.23 GB, free: 9.312 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006799/0.9985, allocations: 0.6651 MB / 1.23 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.962e-05/0.9986, allocations: 50.33 kB / 1.23 GB, free: 8.52 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.701e-05/0.9986, allocations: 17.77 kB / 1.23 GB, free: 8.496 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/0.9986, allocations: 0 / 1.23 GB, free: 8.496 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/0.9988, allocations: 100.9 kB / 1.23 GB, free: 8.379 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.9988, allocations: 4 kB / 1.23 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.0002562/0.9991, allocations: 97.56 kB / 1.231 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.9991, allocations: 81.09 kB / 1.231 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.9993, allocations: 174.1 kB / 1.231 GB, free: 8 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.9993, allocations: 29.7 kB / 1.231 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.284e-05/0.9994, allocations: 127.9 kB / 1.231 GB, free: 7.836 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.9995, allocations: 19.89 kB / 1.231 GB, free: 7.816 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.9996, allocations: 57.69 kB / 1.231 GB, free: 7.754 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.9997, allocations: 326.8 kB / 1.231 GB, free: 7.426 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.9998, allocations: 59.95 kB / 1.231 GB, free: 7.367 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/1, allocations: 116.5 kB / 1.232 GB, free: 7.223 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/1, allocations: 174.2 kB / 1.232 GB, free: 7.016 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1, allocations: 0 / 1.232 GB, free: 7.016 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004042/1.001, allocations: 268.9 kB / 1.232 GB, free: 6.734 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.086e-05/1.001, allocations: 72.64 kB / 1.232 GB, free: 6.652 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/1.001, allocations: 0 / 1.232 GB, free: 6.652 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/1.001, allocations: 4.375 kB / 1.232 GB, free: 6.648 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.504e-05/1.001, allocations: 7.938 kB / 1.232 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/1.001, allocations: 0 / 1.232 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003973/1.001, allocations: 67.88 kB / 1.232 GB, free: 6.574 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.352e-05/1.001, allocations: 20.08 kB / 1.232 GB, free: 6.555 MB / 0.9512 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.0001149/1.001, allocations: 138.3 kB / 1.232 GB, free: 6.41 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.067e-05/1.001, allocations: 15.83 kB / 1.232 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.77e-05/1.001, allocations: 16.23 kB / 1.232 GB, free: 6.371 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/1.001, allocations: 4 kB / 1.232 GB, free: 6.367 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/1.001, allocations: 0 / 1.232 GB, free: 6.367 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/1.001, allocations: 3.984 kB / 1.232 GB, free: 6.363 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/1.002, allocations: 205.6 kB / 1.232 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.679e-06/1.002, allocations: 11.94 kB / 1.232 GB, free: 6.102 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.846e-06/1.002, allocations: 3.984 kB / 1.232 GB, free: 6.098 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/1.002, allocations: 0 / 1.232 GB, free: 6.098 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/1.002, allocations: 4 kB / 1.232 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/1.002, allocations: 0 / 1.232 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/1.002, allocations: 0 / 1.232 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/1.002, allocations: 109.9 kB / 1.233 GB, free: 5.965 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.717e-05/1.002, allocations: 93 kB / 1.233 GB, free: 5.855 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/1.002, allocations: 4 kB / 1.233 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.242e-05/1.002, allocations: 4 kB / 1.233 GB, free: 5.848 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/1.002, allocations: 8.016 kB / 1.233 GB, free: 5.84 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/1.002, allocations: 12 kB / 1.233 GB, free: 5.828 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.718e-05/1.002, allocations: 119.2 kB / 1.233 GB, free: 5.711 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/1.002, allocations: 0 / 1.233 GB, free: 5.711 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002636/1.002, allocations: 43.89 kB / 1.233 GB, free: 5.668 MB / 0.9512 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.0001578/1.002, allocations: 107.2 kB / 1.233 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003168/1.003, allocations: 234.7 kB / 1.233 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/1.003, allocations: 0 / 1.233 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 6.112e-05/1.003, allocations: 27.92 kB / 1.233 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/1.003, allocations: 23.92 kB / 1.233 GB, free: 5.25 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004225/1.004, allocations: 240.5 kB / 1.233 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/1.004, allocations: 0.7119 MB / 1.234 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.922e-05/1.004, allocations: 12.88 kB / 1.234 GB, free: 4.234 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.036e-05/1.004, allocations: 11.44 kB / 1.234 GB, free: 4.223 MB / 0.9512 GB Notification: Performance of SimCode: time 2.5e-07/1.004, allocations: 0 / 1.234 GB, free: 4.223 MB / 0.9512 GB Notification: Performance of Templates: time 0.005007/1.009, allocations: 2.005 MB / 1.236 GB, free: 2.242 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches