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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001201/0.001201, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001355/0.001355, allocations: 191.7 kB / 16.25 MB, free: 6.648 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.415/1.415, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.504/2.504, allocations: 390.2 MB / 0.6644 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 63.91 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7333/0.7348, allocations: 140.4 MB / 0.9492 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001815/0.7367, allocations: 0.6783 MB / 0.9499 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.7379, allocations: 1.107 MB / 0.951 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.792e-05/0.7379, allocations: 1.375 kB / 0.951 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.738, allocations: 3.938 kB / 0.951 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 1.997e-05/0.7381, allocations: 5.375 kB / 0.951 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004317/0.7385, allocations: 113.6 kB / 0.9511 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.7387, allocations: 98.5 kB / 0.9512 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.067e-05/0.7387, allocations: 6.734 kB / 0.9512 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.698e-05/0.7388, allocations: 41.27 kB / 0.9513 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.17e-05/0.7389, allocations: 26.55 kB / 0.9513 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.059e-05/0.7389, allocations: 7.406 kB / 0.9513 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.752e-05/0.739, allocations: 22.02 kB / 0.9513 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.665e-05/0.7391, allocations: 12.14 kB / 0.9513 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.826e-05/0.7392, allocations: 31.23 kB / 0.9513 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.7394, allocations: 87.22 kB / 0.9514 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.7394, allocations: 0 / 0.9514 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.625e-06/0.7394, allocations: 0 / 0.9514 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.238e-06/0.7395, allocations: 0 / 0.9514 GB, free: 7.473 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.0006327/0.7401, allocations: 387.7 kB / 0.9518 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.03e-05/0.7402, allocations: 9.125 kB / 0.9518 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.127e-05/0.7402, allocations: 36.31 kB / 0.9518 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.154e-05/0.7403, allocations: 8.812 kB / 0.9519 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.7406, allocations: 190.7 kB / 0.952 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.7406, allocations: 7.562 kB / 0.952 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.7406, allocations: 9.375 kB / 0.952 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.7407, allocations: 47.28 kB / 0.9521 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.7408, allocations: 3.938 kB / 0.9521 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.7408, allocations: 0 / 0.9521 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.7408, allocations: 5.609 kB / 0.9521 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.842e-05/0.7408, allocations: 9.078 kB / 0.9521 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003638/0.7412, allocations: 316.5 kB / 0.9524 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.865e-05/0.7413, allocations: 21.33 kB / 0.9524 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.692e-05/0.7413, allocations: 8.016 kB / 0.9524 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.7413, allocations: 0 / 0.9524 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001786/0.7415, allocations: 57.11 kB / 0.9525 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.7415, allocations: 0 / 0.9525 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.000214/0.7417, allocations: 68.22 kB / 0.9526 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.7418, allocations: 51.41 kB / 0.9526 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.124e-05/0.7419, allocations: 106.2 kB / 0.9527 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.7419, allocations: 28.58 kB / 0.9527 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.161e-05/0.7419, allocations: 94.69 kB / 0.9528 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.268e-05/0.742, allocations: 4.969 kB / 0.9528 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.071e-05/0.742, allocations: 29.83 kB / 0.9529 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.319e-05/0.7421, allocations: 320.1 kB / 0.9532 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.145e-05/0.7422, allocations: 31.48 kB / 0.9532 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.313e-05/0.7423, allocations: 46.7 kB / 0.9532 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.7424, allocations: 84.8 kB / 0.9533 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.7424, allocations: 0 / 0.9533 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002789/0.7427, allocations: 142.8 kB / 0.9535 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.322e-05/0.7428, allocations: 37.39 kB / 0.9535 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.7428, allocations: 0 / 0.9535 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.7428, allocations: 1.594 kB / 0.9535 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.009e-05/0.7428, allocations: 1.469 kB / 0.9535 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.7429, allocations: 5.516 kB / 0.9535 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002443/0.7431, allocations: 27.03 kB / 0.9535 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/0.7431, allocations: 8.594 kB / 0.9535 GB, free: 5.32 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 0.0001024/0.7433, allocations: 123.5 kB / 0.9537 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.527e-05/0.7433, allocations: 9.078 kB / 0.9537 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.764e-05/0.7433, allocations: 12.81 kB / 0.9537 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.7433, allocations: 1.031 kB / 0.9537 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.7433, allocations: 1.344 kB / 0.9537 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.7433, allocations: 0 / 0.9537 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.7434, allocations: 169.1 kB / 0.9538 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.7435, allocations: 0 / 0.9538 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.552e-06/0.7435, allocations: 4.812 kB / 0.9538 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.7435, allocations: 0.875 kB / 0.9538 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.7435, allocations: 5.125 kB / 0.9538 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.7435, allocations: 0 / 0.9538 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.145e-06/0.7435, allocations: 0.75 kB / 0.9539 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.7436, allocations: 84.06 kB / 0.9539 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.347e-05/0.7437, allocations: 77.11 kB / 0.954 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.7437, allocations: 5.609 kB / 0.954 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.431e-05/0.7437, allocations: 3.938 kB / 0.954 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-05/0.7437, allocations: 1.312 kB / 0.954 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.7438, allocations: 9.688 kB / 0.954 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.538e-05/0.7438, allocations: 84.36 kB / 0.9541 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7438, allocations: 0 / 0.9541 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002378/0.7441, allocations: 18.38 kB / 0.9541 GB, free: 4.68 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.0004429/0.7445, allocations: 0.6226 MB / 0.9547 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002625/0.7448, allocations: 123.7 kB / 0.9548 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.7448, allocations: 0 / 0.9548 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.633e-05/0.7448, allocations: 10.38 kB / 0.9549 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.7451, allocations: 8.859 kB / 0.9549 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.7465, allocations: 1.376 MB / 0.9562 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.7466, allocations: 0.6839 MB / 0.9569 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.473e-05/0.7466, allocations: 6.734 kB / 0.9569 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.67e-05/0.7467, allocations: 12.62 kB / 0.9569 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of SimCode: time 5.71e-07/0.7467, allocations: 0 / 0.9569 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01164/0.7583, allocations: 1.889 MB / 0.9587 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001624/0.7585, allocations: 222.9 kB / 0.959 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/2.569, allocations: 0 / 0.959 GB, free: 0.7617 MB / 0.7169 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