Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_9_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.007867/0.007867, allocations: 103.1 kB / 15.73 MB, free: 6.047 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.001862/0.001862, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.353/1.353, 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 9.1.3-maint.9.1.x/package.mo): time 2.18/2.18, allocations: 390.3 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 67.89 kB / 0.9504 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7603/0.7616, allocations: 140.4 MB / 1.087 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001719/0.7634, allocations: 0.7191 MB / 1.088 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.7648, allocations: 1.239 MB / 1.089 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.206e-05/0.7648, allocations: 4.875 kB / 1.089 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.7649, allocations: 11.02 kB / 1.089 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.27e-05/0.765, allocations: 20.12 kB / 1.089 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00069/0.7657, allocations: 240.9 kB / 1.09 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003546/0.766, allocations: 250.5 kB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.7662, allocations: 41.84 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.7664, allocations: 98.73 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.7666, allocations: 84.23 kB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.019e-05/0.7666, allocations: 18.84 kB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.7668, allocations: 42.66 kB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.171e-05/0.7668, allocations: 35.66 kB / 1.09 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.767, allocations: 93.58 kB / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003407/0.7673, allocations: 229.7 kB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.7673, allocations: 0 / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7673, allocations: 4 kB / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.7673, allocations: 0 / 1.091 GB, free: 3.406 MB / 0.8575 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.0005745/0.7679, allocations: 0.499 MB / 1.091 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.768, allocations: 9.812 kB / 1.091 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.376e-05/0.768, allocations: 41 kB / 1.091 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.806e-05/0.7681, allocations: 21.06 kB / 1.091 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005659/0.7686, allocations: 263.5 kB / 1.091 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.7687, allocations: 8.25 kB / 1.091 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.482e-05/0.7687, allocations: 18.2 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002112/0.7689, allocations: 134.6 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.769, allocations: 0.7812 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.769, allocations: 2.109 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.769, allocations: 2.25 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.393e-05/0.7691, allocations: 57.67 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006175/0.7697, allocations: 0.6701 MB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.913e-05/0.7698, allocations: 44.22 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.119e-05/0.7698, allocations: 18.11 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.658e-06/0.7698, allocations: 5.281 kB / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001828/0.77, allocations: 85.39 kB / 1.092 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.77, allocations: 3.938 kB / 1.092 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0002456/0.7703, allocations: 103.9 kB / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.7703, allocations: 87.7 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.7704, allocations: 170.8 kB / 1.093 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.7705, allocations: 34.61 kB / 1.093 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.743e-05/0.7705, allocations: 122.3 kB / 1.093 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.34e-05/0.7706, allocations: 19.33 kB / 1.093 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.7707, allocations: 61.8 kB / 1.093 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.939e-05/0.7707, allocations: 325.3 kB / 1.093 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.7709, allocations: 52.98 kB / 1.093 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.771, allocations: 114.9 kB / 1.093 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.7712, allocations: 178.3 kB / 1.094 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.7712, allocations: 0.8125 kB / 1.094 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004118/0.7716, allocations: 277.8 kB / 1.094 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.85e-05/0.7717, allocations: 62.94 kB / 1.094 GB, free: 492 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.7717, allocations: 2.562 kB / 1.094 GB, free: 492 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.7717, allocations: 2.562 kB / 1.094 GB, free: 492 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.307e-05/0.7717, allocations: 7.828 kB / 1.094 GB, free: 488 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.7718, allocations: 3.766 kB / 1.094 GB, free: 488 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004327/0.7722, allocations: 63.83 kB / 1.094 GB, free: 484 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.836e-05/0.7722, allocations: 20.84 kB / 1.094 GB, free: 476 kB / 0.8575 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.0001084/0.7724, allocations: 139.4 kB / 1.094 GB, free: 348 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.006e-05/0.7724, allocations: 13.12 kB / 1.094 GB, free: 340 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.739e-05/0.7724, allocations: 13.53 kB / 1.094 GB, free: 324 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.7724, allocations: 1.547 kB / 1.094 GB, free: 324 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.7724, allocations: 0.6875 kB / 1.094 GB, free: 324 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.7725, allocations: 1.391 kB / 1.094 GB, free: 324 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.7726, allocations: 203 kB / 1.094 GB, free: 112 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.7726, allocations: 4 kB / 1.094 GB, free: 108 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.957e-06/0.7726, allocations: 2.297 kB / 1.094 GB, free: 108 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.7726, allocations: 1.312 kB / 1.094 GB, free: 108 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.7726, allocations: 2.281 kB / 1.094 GB, free: 108 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.7726, allocations: 0.6875 kB / 1.094 GB, free: 108 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.7726, allocations: 1.344 kB / 1.094 GB, free: 108 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.7728, allocations: 127.4 kB / 1.094 GB, free: 0 / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.555e-05/0.7729, allocations: 92.06 kB / 1.095 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.7729, allocations: 2.172 kB / 1.095 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.337e-05/0.7729, allocations: 1.969 kB / 1.095 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.773, allocations: 9.406 kB / 1.095 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.773, allocations: 3.219 kB / 1.095 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000103/0.7731, allocations: 120.7 kB / 1.095 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7731, allocations: 96 / 1.095 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002764/0.7734, allocations: 36.2 kB / 1.095 GB, free: 15.8 MB / 0.8731 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.0004894/0.7739, allocations: 0.6715 MB / 1.095 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000355/0.7742, allocations: 233 kB / 1.096 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.7742, allocations: 0 / 1.096 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 4.939e-05/0.7743, allocations: 24.66 kB / 1.096 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.7745, allocations: 36.5 kB / 1.096 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002336/0.7769, allocations: 1.904 MB / 1.098 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.7773, allocations: 0.7169 MB / 1.098 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.072e-05/0.7774, allocations: 10.75 kB / 1.098 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.415e-05/0.7774, allocations: 40.62 kB / 1.098 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of SimCode: time 2.6e-07/0.7775, allocations: 0 / 1.098 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0249/0.8024, allocations: 3.679 MB / 1.102 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.783/8.585, allocations: 15.78 kB / 1.102 GB, free: 12.13 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches