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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0009709/0.0009709, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.007583/0.007583, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.348/1.348, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.635/2.635, allocations: 462.7 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003032/0.0003032, allocations: 10.91 kB / 0.9029 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3129, allocations: 159.6 MB / 1.059 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.0009467/0.3139, allocations: 445.5 kB / 1.059 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001818/0.3157, allocations: 1.264 MB / 1.06 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.544e-05/0.3158, allocations: 4 kB / 1.06 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.91e-05/0.3159, allocations: 3.938 kB / 1.06 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.622e-05/0.316, allocations: 7.922 kB / 1.06 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007051/0.3167, allocations: 231.9 kB / 1.061 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002641/0.3169, allocations: 223.6 kB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.3171, allocations: 31.98 kB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.3173, allocations: 95.73 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002525/0.3175, allocations: 87.77 kB / 1.061 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.994e-05/0.3176, allocations: 8 kB / 1.061 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.522e-05/0.3177, allocations: 19.98 kB / 1.061 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.481e-05/0.3177, allocations: 31.91 kB / 1.061 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.3178, allocations: 101.3 kB / 1.061 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002661/0.3181, allocations: 203.6 kB / 1.061 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3181, allocations: 0 / 1.061 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3181, allocations: 0 / 1.061 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.3182, allocations: 0 / 1.061 GB, free: 2.113 MB / 0.8106 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.0005581/0.3187, allocations: 462.5 kB / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.034e-05/0.3188, allocations: 15.97 kB / 1.062 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.231e-05/0.3188, allocations: 46.73 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.098e-05/0.3189, allocations: 16.75 kB / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005949/0.3195, allocations: 266.4 kB / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.3195, allocations: 12.31 kB / 1.062 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.015e-05/0.3196, allocations: 20.36 kB / 1.062 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.3198, allocations: 125.4 kB / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.3198, allocations: 0 / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.3198, allocations: 8 kB / 1.062 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.3199, allocations: 4 kB / 1.062 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.342e-05/0.3199, allocations: 47.91 kB / 1.062 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006827/0.3206, allocations: 0.665 MB / 1.063 GB, free: 264 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.131e-05/0.3207, allocations: 37.22 kB / 1.063 GB, free: 208 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.42e-05/0.3207, allocations: 17.78 kB / 1.063 GB, free: 184 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.3208, allocations: 3.938 kB / 1.063 GB, free: 180 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001942/0.321, allocations: 100.9 kB / 1.063 GB, free: 60 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.774e-06/0.321, allocations: 0 / 1.063 GB, free: 60 kB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0002759/0.3213, allocations: 97.52 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.3213, allocations: 77.11 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.3215, allocations: 175.6 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.422e-05/0.3215, allocations: 29.7 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.129e-05/0.3216, allocations: 123.9 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.3216, allocations: 15.81 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.028e-05/0.3217, allocations: 25.7 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.3218, allocations: 322.8 kB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.3219, allocations: 55.95 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.3221, allocations: 110.7 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/0.3223, allocations: 174.5 kB / 1.064 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.3223, allocations: 8 kB / 1.064 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004122/0.3227, allocations: 268.6 kB / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.089e-05/0.3228, allocations: 63.41 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3228, allocations: 4 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.3228, allocations: 4 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.21e-05/0.3229, allocations: 7.922 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.3229, allocations: 4 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003502/0.3232, allocations: 76.03 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.887e-05/0.3233, allocations: 16 kB / 1.065 GB, free: 14.29 MB / 0.8262 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.0001154/0.3234, allocations: 139.1 kB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.946e-05/0.3234, allocations: 15.83 kB / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.289e-05/0.3235, allocations: 12.25 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3235, allocations: 4 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3235, allocations: 0 / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3235, allocations: 0 / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.3236, allocations: 201.6 kB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.3237, allocations: 4 kB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.668e-06/0.3237, allocations: 11.94 kB / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3237, allocations: 0 / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.3237, allocations: 7.984 kB / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.3237, allocations: 0 / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3237, allocations: 0 / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.3238, allocations: 113.7 kB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-05/0.3239, allocations: 89 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.3239, allocations: 4 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.24e-05/0.324, allocations: 4 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-05/0.324, allocations: 3.984 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.324, allocations: 11.94 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.547e-05/0.3241, allocations: 120.1 kB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3241, allocations: 0 / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002481/0.3243, allocations: 35.94 kB / 1.066 GB, free: 13.42 MB / 0.8262 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.0003857/0.3247, allocations: 0.6638 MB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000303/0.3251, allocations: 230.6 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3251, allocations: 0 / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.977e-05/0.3251, allocations: 23.98 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.3254, allocations: 25.89 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.3273, allocations: 1.944 MB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.3275, allocations: 0.7121 MB / 1.069 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.655e-05/0.3276, allocations: 12.89 kB / 1.069 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.066e-05/0.3276, allocations: 39.42 kB / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of SimCode: time 3.8e-07/0.3277, allocations: 0 / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01373/0.3414, allocations: 3.16 MB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/0.3416, allocations: 227.2 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.838/2.179, allocations: 0 / 1.072 GB, free: 6.328 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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