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.008447/0.008447, allocations: 98.56 kB / 15.73 MB, free: 6.008 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.001801/0.001801, allocations: 195.1 kB / 16.68 MB, free: 5.934 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.49/1.49, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.415/2.415, allocations: 390.2 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001287, allocations: 67.11 kB / 0.9504 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.31, allocations: 140.4 MB / 1.087 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002005/0.312, allocations: 0.6262 MB / 1.088 GB, free: 1.383 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001524/0.3136, allocations: 1.11 MB / 1.089 GB, free: 264 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.224e-05/0.3137, allocations: 4 kB / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.3138, allocations: 3.938 kB / 1.089 GB, free: 256 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.211e-05/0.3139, allocations: 7.938 kB / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005377/0.3144, allocations: 115.7 kB / 1.089 GB, free: 132 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.3146, allocations: 103.8 kB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.749e-05/0.3147, allocations: 8 kB / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.933e-05/0.3148, allocations: 31.97 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.3149, allocations: 35.89 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.3149, allocations: 8 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.686e-05/0.315, allocations: 15.98 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.576e-05/0.3151, allocations: 11.98 kB / 1.09 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.783e-05/0.3152, allocations: 43.84 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.3153, allocations: 87.94 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3153, allocations: 0 / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3153, allocations: 8 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.415e-06/0.3154, allocations: 0 / 1.09 GB, free: 15.78 MB / 0.8575 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.0004339/0.3158, allocations: 381.1 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.3158, allocations: 8.031 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.082e-05/0.3159, allocations: 34.75 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.17e-05/0.3159, allocations: 8.938 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.3161, allocations: 184.2 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.3161, allocations: 4.375 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.3162, allocations: 4.375 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.3163, allocations: 50.25 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.3163, allocations: 3.938 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.3163, allocations: 0 / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.3163, allocations: 4 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.229e-05/0.3164, allocations: 15.92 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003379/0.3167, allocations: 296.8 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.265e-05/0.3168, allocations: 22.58 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.696e-05/0.3168, allocations: 8.859 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.181e-06/0.3168, allocations: 7.875 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001405/0.3169, allocations: 63.41 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 2.825e-06/0.317, allocations: 0 / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0001705/0.3171, allocations: 61.62 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.3172, allocations: 55.41 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.313e-05/0.3173, allocations: 113.8 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.3173, allocations: 29.7 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.59e-05/0.3174, allocations: 96.08 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.201e-05/0.3174, allocations: 3.953 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.318e-05/0.3175, allocations: 29.7 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.3176, allocations: 322.8 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.436e-05/0.3177, allocations: 27.98 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.97e-05/0.3178, allocations: 50.55 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.3179, allocations: 84.44 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3179, allocations: 0 / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002512/0.3181, allocations: 147.3 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.769e-05/0.3182, allocations: 29.7 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3182, allocations: 4 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3182, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.774e-05/0.3182, allocations: 3.984 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3183, allocations: 8.094 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.3185, allocations: 27.97 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.3185, allocations: 4 kB / 1.092 GB, free: 13.35 MB / 0.8575 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 9.089e-05/0.3186, allocations: 117.7 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/0.3186, allocations: 15.94 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.132e-05/0.3186, allocations: 3.906 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3187, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3187, allocations: 4 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3187, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.3188, allocations: 165.6 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3188, allocations: 3.984 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.071e-06/0.3188, allocations: 0 / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3188, allocations: 0 / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.3188, allocations: 4 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.3188, allocations: 3.938 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3189, allocations: 0 / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001093/0.319, allocations: 81.06 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.104e-05/0.319, allocations: 85.06 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.319, allocations: 3.984 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.371e-05/0.3191, allocations: 7.938 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.336e-05/0.3191, allocations: 0 / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.3191, allocations: 4.312 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.995e-05/0.3192, allocations: 87.22 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3192, allocations: 0 / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002111/0.3194, allocations: 23.98 kB / 1.092 GB, free: 12.65 MB / 0.8575 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.0004123/0.3198, allocations: 0.6202 MB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001993/0.32, allocations: 119.4 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.32, allocations: 0 / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.776e-05/0.3201, allocations: 11.94 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.3203, allocations: 16.17 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.3216, allocations: 1.354 MB / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.3219, allocations: 0.6846 MB / 1.095 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.829e-05/0.3219, allocations: 0 / 1.095 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.885e-05/0.322, allocations: 15.44 kB / 1.095 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of SimCode: time 2.7e-07/0.322, allocations: 4 kB / 1.095 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0194/0.3414, allocations: 2.004 MB / 1.097 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.759/8.1, allocations: 7.438 kB / 1.097 GB, free: 7.805 MB / 0.8575 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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