Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.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.BooleanVectorReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",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.000817/0.000817, allocations: 98.03 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.005021/0.00502, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.36/1.36, 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.701/2.701, allocations: 462.7 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.000352, allocations: 12.97 kB / 0.9029 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3347, allocations: 159.6 MB / 1.059 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.0008327/0.3355, allocations: 361.8 kB / 1.059 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001586/0.3372, allocations: 1.12 MB / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.534e-05/0.3372, allocations: 4 kB / 1.06 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.369e-05/0.3373, allocations: 3.938 kB / 1.06 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.937e-05/0.3374, allocations: 7.922 kB / 1.06 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004745/0.3379, allocations: 110.7 kB / 1.06 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.3381, allocations: 171.6 kB / 1.061 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.3382, allocations: 15.98 kB / 1.061 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.3384, allocations: 59.88 kB / 1.061 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.3385, allocations: 47.88 kB / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.282e-05/0.3385, allocations: 12 kB / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.688e-05/0.3386, allocations: 27.92 kB / 1.061 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.188e-05/0.3387, allocations: 23.91 kB / 1.061 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.3388, allocations: 77.53 kB / 1.061 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.3391, allocations: 187.7 kB / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3391, allocations: 0 / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3391, allocations: 0 / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.3391, allocations: 0 / 1.061 GB, free: 2.684 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000538/0.3396, allocations: 418.8 kB / 1.061 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.3397, allocations: 11.97 kB / 1.061 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.12e-05/0.3397, allocations: 42.75 kB / 1.061 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.986e-05/0.3398, allocations: 16.83 kB / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.3401, allocations: 216.2 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.3401, allocations: 8.375 kB / 1.062 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.906e-05/0.3401, allocations: 12.38 kB / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.3403, allocations: 107.8 kB / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3403, allocations: 3.938 kB / 1.062 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.3404, allocations: 3.984 kB / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3404, allocations: 4 kB / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.403e-05/0.3404, allocations: 39.97 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005485/0.341, allocations: 492.8 kB / 1.062 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.758e-05/0.3411, allocations: 61.12 kB / 1.062 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.728e-05/0.3411, allocations: 33.77 kB / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/0.3412, allocations: 0 / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/0.3413, allocations: 117 kB / 1.062 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.3413, allocations: 4 kB / 1.062 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0002873/0.3416, allocations: 133.5 kB / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.844e-05/0.3417, allocations: 77.11 kB / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.3418, allocations: 149.5 kB / 1.063 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.3419, allocations: 29.7 kB / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.897e-05/0.3419, allocations: 96.05 kB / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.342, allocations: 11.91 kB / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-05/0.342, allocations: 25.7 kB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3421, allocations: 326.8 kB / 1.063 GB, free: 16 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.3424, allocations: 120 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002076/0.3426, allocations: 165 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/0.3428, allocations: 224.3 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3429, allocations: 0 / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005512/0.3434, allocations: 380.6 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.053e-05/0.3435, allocations: 67.41 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3435, allocations: 0 / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3435, allocations: 4 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.087e-05/0.3435, allocations: 3.984 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.3435, allocations: 8.188 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004441/0.344, allocations: 87.84 kB / 1.064 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/0.344, allocations: 12 kB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (booPul[1].y,$PRE.booPul[1].y,$whenCondition3,$whenCondition4,booPul[2].y,$PRE.booPul[2].y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * 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.0001217/0.3442, allocations: 133.8 kB / 1.064 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.925e-05/0.3442, allocations: 11.89 kB / 1.064 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.186e-05/0.3442, allocations: 12.28 kB / 1.064 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3442, allocations: 0 / 1.064 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3442, allocations: 0 / 1.064 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.3443, allocations: 7.938 kB / 1.064 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.3444, allocations: 185.6 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.3444, allocations: 11.94 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.968e-06/0.3445, allocations: 4 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3445, allocations: 0 / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.3445, allocations: 3.984 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3445, allocations: 4 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3445, allocations: 0 / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.3447, allocations: 133.7 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.3447, allocations: 93 kB / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.3448, allocations: 4 kB / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.147e-05/0.3448, allocations: 0 / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/0.3448, allocations: 11.92 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.3448, allocations: 0 / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.598e-05/0.3449, allocations: 103.3 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3449, allocations: 3.938 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002509/0.3452, allocations: 31.94 kB / 1.065 GB, free: 14.04 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[1].y,$whenCondition1,$whenCondition2,booPul[2].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.0005041/0.3457, allocations: 0.6795 MB / 1.066 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004222/0.3461, allocations: 322.6 kB / 1.066 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.3461, allocations: 0 / 1.066 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.55e-05/0.3462, allocations: 28.36 kB / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.3464, allocations: 30.31 kB / 1.066 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.3489, allocations: 2.173 MB / 1.068 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.3492, allocations: 0.7082 MB / 1.069 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.008e-05/0.3492, allocations: 4 kB / 1.069 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.553e-05/0.3493, allocations: 27.42 kB / 1.069 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of SimCode: time 3.91e-07/0.3493, allocations: 0 / 1.069 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01817/0.3674, allocations: 3.204 MB / 1.072 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/0.3677, allocations: 226.3 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/2.086, allocations: 2.391 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches