Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.BooleanScalarReplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_9_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.001097/0.001097, allocations: 97.64 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.008731/0.008731, allocations: 170.1 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.291/1.291, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.298/2.298, allocations: 390.9 MB / 0.6664 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003737/0.0003737, allocations: 12 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6264/0.6268, allocations: 142.4 MB / 0.9552 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.0006457/0.6275, allocations: 351.7 kB / 0.9555 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.6286, allocations: 1.117 MB / 0.9566 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.857e-05/0.6286, allocations: 0 / 0.9566 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.324e-05/0.6287, allocations: 1.5 kB / 0.9566 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 1.928e-05/0.6287, allocations: 3.938 kB / 0.9566 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004096/0.6292, allocations: 117 kB / 0.9567 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.336e-05/0.6293, allocations: 79.5 kB / 0.9568 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.597e-05/0.6293, allocations: 7.312 kB / 0.9568 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.714e-05/0.6294, allocations: 28.83 kB / 0.9568 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.109e-05/0.6295, allocations: 30.91 kB / 0.9569 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.6295, allocations: 3.625 kB / 0.9569 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.282e-05/0.6296, allocations: 19.03 kB / 0.9569 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.579e-05/0.6296, allocations: 7.328 kB / 0.9569 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.612e-05/0.6297, allocations: 52.22 kB / 0.9569 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.6298, allocations: 83.89 kB / 0.957 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.6298, allocations: 4 kB / 0.957 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6298, allocations: 0 / 0.957 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.6298, allocations: 0 / 0.957 GB, free: 6.309 MB / 0.7169 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.0002872/0.6301, allocations: 373.5 kB / 0.9574 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.6302, allocations: 10.16 kB / 0.9574 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.471e-05/0.6302, allocations: 34.75 kB / 0.9574 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.6302, allocations: 10.22 kB / 0.9574 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.6304, allocations: 181.7 kB / 0.9576 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.6304, allocations: 4.531 kB / 0.9576 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.6304, allocations: 4.375 kB / 0.9576 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.044e-05/0.6305, allocations: 50.53 kB / 0.9577 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.6305, allocations: 9.281 kB / 0.9577 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.6305, allocations: 3.938 kB / 0.9577 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.6305, allocations: 1.125 kB / 0.9577 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.965e-05/0.6306, allocations: 14.3 kB / 0.9577 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002586/0.6308, allocations: 299 kB / 0.958 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.803e-05/0.6309, allocations: 30.52 kB / 0.958 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.411e-05/0.6309, allocations: 7.078 kB / 0.958 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.023e-06/0.6309, allocations: 0 / 0.958 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.346e-05/0.631, allocations: 61.67 kB / 0.9581 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.631, allocations: 0 / 0.9581 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001513/0.6312, allocations: 63.58 kB / 0.9581 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.6312, allocations: 64.17 kB / 0.9582 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.06e-05/0.6313, allocations: 105.8 kB / 0.9583 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.6313, allocations: 28.27 kB / 0.9583 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.049e-05/0.6313, allocations: 90.64 kB / 0.9584 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.085e-06/0.6313, allocations: 5.344 kB / 0.9584 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.6314, allocations: 18.53 kB / 0.9584 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.947e-05/0.6314, allocations: 319.8 kB / 0.9587 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.731e-05/0.6315, allocations: 31.11 kB / 0.9588 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.618e-05/0.6316, allocations: 46.84 kB / 0.9588 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.341e-05/0.6316, allocations: 85.52 kB / 0.9589 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.6317, allocations: 0 / 0.9589 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001999/0.6319, allocations: 137.2 kB / 0.959 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.6319, allocations: 41.31 kB / 0.9591 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.6319, allocations: 1.375 kB / 0.9591 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.6319, allocations: 5.562 kB / 0.9591 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.407e-05/0.6319, allocations: 1.406 kB / 0.9591 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.6319, allocations: 3.938 kB / 0.9591 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.6322, allocations: 37.69 kB / 0.9591 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.6322, allocations: 9.766 kB / 0.9591 GB, free: 4.164 MB / 0.7169 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 6.048e-05/0.6323, allocations: 123.8 kB / 0.9592 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.267e-06/0.6323, allocations: 3.906 kB / 0.9592 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.83e-05/0.6323, allocations: 5.719 kB / 0.9592 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.6323, allocations: 0 / 0.9592 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.6323, allocations: 1.906 kB / 0.9592 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.6323, allocations: 0 / 0.9592 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.066e-05/0.6324, allocations: 169.1 kB / 0.9594 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.6324, allocations: 0 / 0.9594 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.67e-06/0.6324, allocations: 7.875 kB / 0.9594 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.6324, allocations: 2.031 kB / 0.9594 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.6324, allocations: 4 kB / 0.9594 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.6324, allocations: 0 / 0.9594 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.6324, allocations: 2.344 kB / 0.9594 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.643e-05/0.6325, allocations: 81.33 kB / 0.9595 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.682e-05/0.6326, allocations: 78.2 kB / 0.9596 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.6326, allocations: 5.188 kB / 0.9596 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.428e-05/0.6326, allocations: 0 / 0.9596 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-05/0.6326, allocations: 1.812 kB / 0.9596 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.6326, allocations: 9.266 kB / 0.9596 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.622e-05/0.6327, allocations: 84.72 kB / 0.9597 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6327, allocations: 0 / 0.9597 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002083/0.6329, allocations: 15.09 kB / 0.9597 GB, free: 3.539 MB / 0.7169 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.0002626/0.6331, allocations: 0.6227 MB / 0.9603 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001758/0.6333, allocations: 126.9 kB / 0.9604 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.6333, allocations: 0 / 0.9604 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.507e-05/0.6334, allocations: 11.72 kB / 0.9604 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.6336, allocations: 16.41 kB / 0.9604 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009933/0.6346, allocations: 1.375 MB / 0.9618 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.417e-05/0.6347, allocations: 0.6798 MB / 0.9624 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.843e-05/0.6347, allocations: 2.75 kB / 0.9625 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.502e-05/0.6347, allocations: 16.8 kB / 0.9625 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.6347, allocations: 1.375 kB / 0.9625 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02585/0.6606, allocations: 1.759 MB / 0.9642 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002076/0.6608, allocations: 221 kB / 0.9644 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/2.489, allocations: 0 / 0.9644 GB, free: 15.73 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches