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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.01003/0.01003, allocations: 97.3 kB / 15.73 MB, free: 6.039 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.00224/0.00224, allocations: 199.5 kB / 16.68 MB, free: 5.965 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.512/1.512, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.934/2.934, allocations: 469.4 MB / 0.7421 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 64.12 kB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3124, allocations: 159.1 MB / 1.22 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001788/0.3142, allocations: 0.7125 MB / 1.22 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001547/0.3158, allocations: 1.244 MB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.663e-05/0.3159, allocations: 0 / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.316, allocations: 15.86 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.103e-05/0.3161, allocations: 15.86 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007027/0.3168, allocations: 235.1 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002943/0.3171, allocations: 259.5 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.3172, allocations: 43.92 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.3174, allocations: 95.81 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.3175, allocations: 87.75 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.806e-05/0.3176, allocations: 19.94 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.747e-05/0.3177, allocations: 51.98 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.676e-05/0.3177, allocations: 35.89 kB / 1.222 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.3178, allocations: 87.64 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.3181, allocations: 235.1 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3181, allocations: 4 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.183e-06/0.3181, allocations: 0 / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.3181, allocations: 0 / 1.223 GB, free: 11.51 MB / 0.9825 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.0005536/0.3187, allocations: 0.4904 MB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.3187, allocations: 8.031 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.817e-05/0.3188, allocations: 50.73 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.568e-05/0.3189, allocations: 20.84 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005591/0.3194, allocations: 260.2 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.3194, allocations: 12.38 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.494e-05/0.3195, allocations: 16.38 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.3197, allocations: 131.4 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.3197, allocations: 0 / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.3197, allocations: 11.94 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3197, allocations: 3.938 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.17e-05/0.3198, allocations: 47.97 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006056/0.3204, allocations: 0.669 MB / 1.224 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.908e-05/0.3205, allocations: 41.28 kB / 1.224 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.538e-05/0.3205, allocations: 21.64 kB / 1.225 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.47e-06/0.3206, allocations: 3.938 kB / 1.225 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.3207, allocations: 93.05 kB / 1.225 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.3207, allocations: 0 / 1.225 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.00023/0.321, allocations: 101.9 kB / 1.225 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.321, allocations: 81.09 kB / 1.225 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.3212, allocations: 174 kB / 1.225 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.3212, allocations: 29.7 kB / 1.225 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.048e-05/0.3213, allocations: 132 kB / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.3213, allocations: 15.89 kB / 1.225 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.3214, allocations: 61.67 kB / 1.225 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.3216, allocations: 318.8 kB / 1.225 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.3217, allocations: 59.89 kB / 1.226 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.3218, allocations: 119.4 kB / 1.226 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.322, allocations: 182.2 kB / 1.226 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3221, allocations: 0 / 1.226 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004284/0.3225, allocations: 264.9 kB / 1.226 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.716e-05/0.3226, allocations: 75.27 kB / 1.226 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.3226, allocations: 0 / 1.226 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.3226, allocations: 8 kB / 1.226 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.362e-05/0.3226, allocations: 4 kB / 1.226 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.3226, allocations: 4.25 kB / 1.226 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004228/0.3231, allocations: 67.88 kB / 1.226 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.3231, allocations: 15.98 kB / 1.226 GB, free: 7.578 MB / 0.9825 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.0001463/0.3233, allocations: 146.2 kB / 1.226 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.272e-05/0.3233, allocations: 11.89 kB / 1.226 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.496e-05/0.3233, allocations: 12.25 kB / 1.226 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3233, allocations: 4 kB / 1.226 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.3234, allocations: 3.984 kB / 1.226 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3234, allocations: 0 / 1.226 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.3236, allocations: 205.6 kB / 1.227 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.3236, allocations: 11.92 kB / 1.227 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.325e-06/0.3236, allocations: 0 / 1.227 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3236, allocations: 0 / 1.227 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.3236, allocations: 4 kB / 1.227 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3236, allocations: 0 / 1.227 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3236, allocations: 4 kB / 1.227 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.3238, allocations: 121.8 kB / 1.227 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.107e-05/0.3238, allocations: 85.06 kB / 1.227 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.3239, allocations: 0 / 1.227 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.447e-05/0.3239, allocations: 4 kB / 1.227 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.3239, allocations: 3.984 kB / 1.227 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.3239, allocations: 4 kB / 1.227 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.494e-05/0.324, allocations: 123.2 kB / 1.227 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.324, allocations: 0 / 1.227 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002826/0.3243, allocations: 47.88 kB / 1.227 GB, free: 6.699 MB / 0.9825 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.0005047/0.3248, allocations: 0.66 MB / 1.228 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003574/0.3252, allocations: 238.7 kB / 1.228 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.3252, allocations: 4 kB / 1.228 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.378e-05/0.3253, allocations: 23.92 kB / 1.228 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.3255, allocations: 31.33 kB / 1.228 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.3276, allocations: 1.932 MB / 1.23 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.3279, allocations: 0.708 MB / 1.231 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.466e-05/0.328, allocations: 12.89 kB / 1.231 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.381e-05/0.328, allocations: 39.42 kB / 1.231 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.328, allocations: 0 / 1.231 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0208/0.3488, allocations: 3.609 MB / 1.234 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.726/8.075, allocations: 14.45 kB / 1.234 GB, free: 15.38 MB / 0.9981 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 50 --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