Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.BooleanVectorReplicator,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="Buildings_10_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.0008902/0.0008903, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.005411/0.005412, allocations: 173.9 kB / 16.27 MB, free: 6.613 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.293/1.293, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.502/2.502, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003212/0.0003211, allocations: 8 kB / 0.873 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.612/0.6124, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.0007371/0.6132, allocations: 356.5 kB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001697/0.6149, allocations: 1.121 MB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.574e-05/0.6149, allocations: 3.938 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.953e-05/0.615, allocations: 0 / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.638e-05/0.6151, allocations: 11.92 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004148/0.6155, allocations: 103.9 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.6157, allocations: 167.6 kB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.6159, allocations: 15.98 kB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.616, allocations: 63.88 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.6161, allocations: 55.86 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.6161, allocations: 8 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.607e-05/0.6162, allocations: 19.92 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.241e-05/0.6163, allocations: 23.92 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.6164, allocations: 81.53 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.6166, allocations: 185.8 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.6166, allocations: 0 / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6167, allocations: 0 / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.6167, allocations: 0 / 1.025 GB, free: 13.63 MB / 0.7794 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.000457/0.6171, allocations: 422.7 kB / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.6172, allocations: 16.03 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.158e-05/0.6172, allocations: 34.75 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.208e-05/0.6173, allocations: 16.78 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.6175, allocations: 220.2 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.6175, allocations: 8.359 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.6176, allocations: 16.38 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.6177, allocations: 95.86 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.6178, allocations: 3.938 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.6178, allocations: 8 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.6178, allocations: 4 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.638e-05/0.6179, allocations: 39.91 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00053/0.6184, allocations: 496.8 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.032e-05/0.6185, allocations: 65.11 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.392e-05/0.6185, allocations: 25.77 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.6185, allocations: 4 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001388/0.6187, allocations: 113 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.6187, allocations: 4 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0002597/0.619, allocations: 129.5 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.619, allocations: 81.11 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.6191, allocations: 133.8 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.649e-05/0.6192, allocations: 37.69 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.533e-05/0.6192, allocations: 103.9 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.427e-05/0.6193, allocations: 7.891 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.014e-05/0.6193, allocations: 33.7 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.25e-05/0.6194, allocations: 318.8 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.6196, allocations: 123.9 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.6198, allocations: 161.5 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.6201, allocations: 228.3 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.6201, allocations: 0 / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005368/0.6207, allocations: 376.6 kB / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.051e-05/0.6207, allocations: 71.39 kB / 1.029 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.6207, allocations: 0 / 1.029 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.6208, allocations: 4 kB / 1.029 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.981e-05/0.6208, allocations: 8.172 kB / 1.029 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.6208, allocations: 4 kB / 1.029 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004364/0.6212, allocations: 87.8 kB / 1.029 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-05/0.6213, allocations: 11.98 kB / 1.029 GB, free: 9.832 MB / 0.7794 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.000117/0.6214, allocations: 140.4 kB / 1.029 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.792e-05/0.6214, allocations: 11.89 kB / 1.029 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.213e-05/0.6215, allocations: 15.84 kB / 1.029 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.6215, allocations: 0 / 1.029 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.6215, allocations: 0 / 1.029 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.6215, allocations: 7.938 kB / 1.029 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.6217, allocations: 181.6 kB / 1.029 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.6217, allocations: 0 / 1.029 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.083e-06/0.6217, allocations: 0 / 1.029 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.6217, allocations: 4.375 kB / 1.029 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.6217, allocations: 4 kB / 1.029 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.6217, allocations: 3.984 kB / 1.029 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6217, allocations: 4 kB / 1.029 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.6219, allocations: 137.7 kB / 1.029 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.362e-05/0.6219, allocations: 89 kB / 1.029 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.622, allocations: 4.062 kB / 1.029 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.515e-05/0.622, allocations: 8 kB / 1.029 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.663e-05/0.622, allocations: 3.938 kB / 1.029 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.622, allocations: 7.984 kB / 1.029 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.578e-05/0.6221, allocations: 99.31 kB / 1.029 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6221, allocations: 0 / 1.029 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002434/0.6223, allocations: 36 kB / 1.029 GB, free: 8.988 MB / 0.7794 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.0004713/0.6228, allocations: 0.6834 MB / 1.03 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004317/0.6233, allocations: 314.6 kB / 1.03 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.6233, allocations: 384 / 1.03 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.372e-05/0.6233, allocations: 39.97 kB / 1.03 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.6236, allocations: 23.92 kB / 1.03 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/0.6259, allocations: 2.192 MB / 1.033 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.6262, allocations: 0.7004 MB / 1.033 GB, free: 4.836 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.63e-05/0.6262, allocations: 4 kB / 1.033 GB, free: 4.832 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.181e-05/0.6263, allocations: 19.44 kB / 1.033 GB, free: 4.812 MB / 0.7794 GB Notification: Performance of SimCode: time 4.61e-07/0.6263, allocations: 3.938 kB / 1.033 GB, free: 4.809 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01315/0.6394, allocations: 3.203 MB / 1.036 GB, free: 1.797 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001943/0.6396, allocations: 227.2 kB / 1.037 GB, free: 1.539 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/2.41, allocations: 3.75 kB / 1.037 GB, free: 1.539 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches