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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008313/0.008313, allocations: 102.5 kB / 15.73 MB, free: 6.066 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.002205/0.002205, allocations: 197.1 kB / 16.68 MB, free: 5.973 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.786/2.786, allocations: 482.4 MB / 0.7548 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 64.69 kB / 1.083 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3035, allocations: 162.2 MB / 1.241 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001844/0.3053, allocations: 0.7068 MB / 1.242 GB, free: 8.586 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001609/0.307, allocations: 1.242 MB / 1.243 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.593e-05/0.307, allocations: 7.938 kB / 1.243 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001008/0.3072, allocations: 15.86 kB / 1.243 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.472e-05/0.3072, allocations: 19.84 kB / 1.243 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006925/0.3079, allocations: 246.6 kB / 1.244 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000324/0.3082, allocations: 251.6 kB / 1.244 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.3084, allocations: 44.17 kB / 1.244 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.3085, allocations: 103.9 kB / 1.244 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.3087, allocations: 79.77 kB / 1.244 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.397e-05/0.3087, allocations: 20 kB / 1.244 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.3088, allocations: 39.97 kB / 1.244 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.365e-05/0.3089, allocations: 43.84 kB / 1.244 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.3091, allocations: 87.64 kB / 1.244 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003105/0.3094, allocations: 231.2 kB / 1.244 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.3094, allocations: 0 / 1.244 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.326e-06/0.3094, allocations: 3.984 kB / 1.244 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.3094, allocations: 4 kB / 1.244 GB, free: 6.164 MB / 0.9669 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.0006173/0.31, allocations: 0.4982 MB / 1.245 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.3101, allocations: 8.031 kB / 1.245 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.146e-05/0.3101, allocations: 42.73 kB / 1.245 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.745e-05/0.3102, allocations: 20.84 kB / 1.245 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005764/0.3108, allocations: 264.2 kB / 1.245 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.3108, allocations: 16.38 kB / 1.245 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.711e-05/0.3108, allocations: 12.38 kB / 1.245 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.3111, allocations: 133.4 kB / 1.245 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.3111, allocations: 3.938 kB / 1.245 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.3111, allocations: 7.984 kB / 1.245 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.3111, allocations: 4 kB / 1.245 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.051e-05/0.3112, allocations: 47.91 kB / 1.246 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006885/0.3119, allocations: 0.669 MB / 1.246 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.133e-05/0.312, allocations: 45.14 kB / 1.246 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.909e-05/0.312, allocations: 17.78 kB / 1.246 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.797e-06/0.312, allocations: 3.938 kB / 1.246 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.3122, allocations: 89.05 kB / 1.246 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.3122, allocations: 0 / 1.246 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0002374/0.3125, allocations: 101.5 kB / 1.246 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.3125, allocations: 85.11 kB / 1.247 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.3127, allocations: 173.5 kB / 1.247 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.3127, allocations: 33.64 kB / 1.247 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.3128, allocations: 124 kB / 1.247 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.231e-05/0.3128, allocations: 7.953 kB / 1.247 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.313, allocations: 65.62 kB / 1.247 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3131, allocations: 322.8 kB / 1.247 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.3133, allocations: 59.97 kB / 1.247 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.3134, allocations: 120.5 kB / 1.247 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/0.3137, allocations: 178.2 kB / 1.248 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3137, allocations: 3.938 kB / 1.248 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004518/0.3141, allocations: 264.9 kB / 1.248 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.791e-05/0.3142, allocations: 71.42 kB / 1.248 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.3142, allocations: 4 kB / 1.248 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.3142, allocations: 384 / 1.248 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.762e-05/0.3143, allocations: 4 kB / 1.248 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.3143, allocations: 4 kB / 1.248 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004063/0.3147, allocations: 71.81 kB / 1.248 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.3147, allocations: 11.98 kB / 1.248 GB, free: 2.234 MB / 0.9669 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.3149, allocations: 146.3 kB / 1.248 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.125e-05/0.3149, allocations: 11.89 kB / 1.248 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.591e-05/0.3149, allocations: 20.22 kB / 1.248 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.315, allocations: 0 / 1.248 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.315, allocations: 0 / 1.248 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.315, allocations: 0 / 1.248 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.3152, allocations: 209.5 kB / 1.248 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.3152, allocations: 0 / 1.248 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.484e-06/0.3152, allocations: 4 kB / 1.248 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.3152, allocations: 4 kB / 1.248 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.497e-06/0.3152, allocations: 4 kB / 1.248 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3152, allocations: 0 / 1.248 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3152, allocations: 0 / 1.248 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.3154, allocations: 121.8 kB / 1.248 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-05/0.3154, allocations: 85.06 kB / 1.249 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.3155, allocations: 7.984 kB / 1.249 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.436e-05/0.3155, allocations: 4 kB / 1.249 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.745e-05/0.3155, allocations: 4 kB / 1.249 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.3155, allocations: 12.05 kB / 1.249 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.456e-05/0.3156, allocations: 119.2 kB / 1.249 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3156, allocations: 0 / 1.249 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000261/0.3159, allocations: 39.89 kB / 1.249 GB, free: 1.355 MB / 0.9669 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.000485/0.3164, allocations: 0.66 MB / 1.249 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003441/0.3167, allocations: 230.7 kB / 1.25 GB, free: 424 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.3168, allocations: 0 / 1.25 GB, free: 424 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.921e-05/0.3168, allocations: 35.86 kB / 1.25 GB, free: 388 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.3171, allocations: 24.52 kB / 1.25 GB, free: 364 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/0.3193, allocations: 1.908 MB / 1.251 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.3197, allocations: 0.7196 MB / 1.252 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.795e-05/0.3197, allocations: 16.81 kB / 1.252 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.959e-05/0.3198, allocations: 39.42 kB / 1.252 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of SimCode: time 2.61e-07/0.3198, allocations: 0 / 1.252 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.344, allocations: 3.62 MB / 1.256 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.731/8.075, allocations: 13.08 kB / 1.256 GB, free: 10.04 MB / 0.9825 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins1/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