Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.BooleanScalarReplicator,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",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.0009924/0.0009926, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001074/0.001075, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.3/1.3, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.546/2.546, allocations: 437 MB / 0.7101 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 71.89 kB / 0.8689 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6187/0.6201, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002036/0.6222, allocations: 0.6831 MB / 1.018 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.6237, allocations: 1.113 MB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.197e-05/0.6238, allocations: 0 / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.6239, allocations: 7.938 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.266e-05/0.6239, allocations: 0 / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004892/0.6244, allocations: 107.5 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.6246, allocations: 95.88 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.789e-05/0.6247, allocations: 15.92 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.328e-05/0.6248, allocations: 27.98 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.268e-05/0.6248, allocations: 31.84 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.6249, allocations: 8 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.546e-05/0.625, allocations: 15.98 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 6.768e-05/0.625, allocations: 15.97 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.547e-05/0.6251, allocations: 35.92 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.6253, allocations: 86.03 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.6253, allocations: 0 / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.856e-06/0.6253, allocations: 11.92 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.6253, allocations: 0 / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004496/0.6258, allocations: 381.1 kB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.6258, allocations: 8.031 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.61e-05/0.6258, allocations: 30.75 kB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.666e-05/0.6259, allocations: 16.89 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.6261, allocations: 184.2 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.6261, allocations: 8.375 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.6262, allocations: 4.375 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.6263, allocations: 50.19 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.6263, allocations: 3.938 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.6263, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.6263, allocations: 4 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.35e-05/0.6263, allocations: 11.98 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000361/0.6267, allocations: 304.8 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.707e-05/0.6268, allocations: 26.52 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.63e-05/0.6268, allocations: 4.859 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.555e-06/0.6268, allocations: 0 / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.627, allocations: 59.45 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.627, allocations: 0 / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0001772/0.6272, allocations: 65.62 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.6272, allocations: 59.39 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.035e-05/0.6273, allocations: 109.8 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.6273, allocations: 29.7 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.728e-05/0.6274, allocations: 88.12 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.08e-05/0.6274, allocations: 3.906 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.8e-05/0.6275, allocations: 33.7 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.6276, allocations: 318.8 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.063e-05/0.6277, allocations: 35.97 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.214e-05/0.6277, allocations: 46.56 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.6279, allocations: 80.2 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.6279, allocations: 3.938 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002277/0.6281, allocations: 143.3 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.076e-05/0.6282, allocations: 33.8 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.6282, allocations: 7.984 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.6282, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.464e-05/0.6282, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.6282, allocations: 4 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.6284, allocations: 31.91 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.6284, allocations: 4.312 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 8.699e-05/0.6285, allocations: 126.3 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.364e-05/0.6286, allocations: 7.906 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.089e-05/0.6286, allocations: 7.844 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.6286, allocations: 240 / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.6286, allocations: 4 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.6286, allocations: 0 / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.6287, allocations: 169.6 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.6287, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.031e-06/0.6288, allocations: 3.938 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.6288, allocations: 4 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.6288, allocations: 0 / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.6288, allocations: 4 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.6288, allocations: 0 / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.6289, allocations: 81.05 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.719e-05/0.6289, allocations: 89.02 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.629, allocations: 0 / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.339e-05/0.629, allocations: 0 / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.639e-05/0.629, allocations: 0 / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.629, allocations: 4 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.801e-05/0.6291, allocations: 95.2 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6291, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000203/0.6293, allocations: 16 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003738/0.6297, allocations: 0.6163 MB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001994/0.6299, allocations: 127.3 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.6299, allocations: 0 / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.605e-05/0.6299, allocations: 8 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.6301, allocations: 19.91 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.6314, allocations: 1.366 MB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.6317, allocations: 0.6846 MB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.004e-05/0.6317, allocations: 0 / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.164e-05/0.6318, allocations: 15.44 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.6318, allocations: 0 / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01205/0.6438, allocations: 1.904 MB / 1.026 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002206/0.6441, allocations: 225.1 kB / 1.027 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.691/2.336, allocations: 0 / 1.027 GB, free: 8.359 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches