Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_latest_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.005906/0.005907, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001214/0.001214, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.465/1.465, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.76/2.76, allocations: 469.4 MB / 0.7421 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 59.89 kB / 1.064 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2893, allocations: 159.1 MB / 1.22 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001812/0.2912, allocations: 0.6322 MB / 1.22 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001292/0.2925, allocations: 1.11 MB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.081e-05/0.2926, allocations: 4 kB / 1.221 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.875e-05/0.2927, allocations: 3.938 kB / 1.221 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.45e-05/0.2927, allocations: 7.938 kB / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004558/0.2932, allocations: 119.3 kB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.2933, allocations: 95.81 kB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.123e-05/0.2934, allocations: 11.92 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.646e-05/0.2935, allocations: 31.98 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.498e-05/0.2936, allocations: 35.88 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.2936, allocations: 11.94 kB / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.049e-05/0.2937, allocations: 23.98 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.271e-05/0.2938, allocations: 4 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.497e-05/0.2938, allocations: 31.91 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.294, allocations: 95.66 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.294, allocations: 4 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.312e-06/0.294, allocations: 0 / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.294, allocations: 0 / 1.222 GB, free: 12.48 MB / 0.9825 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.0004391/0.2945, allocations: 385 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.2945, allocations: 12.03 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.12e-05/0.2946, allocations: 34.73 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.366e-05/0.2946, allocations: 4.938 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.2948, allocations: 176.4 kB / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.2948, allocations: 4.375 kB / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.2948, allocations: 16.38 kB / 1.222 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.295, allocations: 46.23 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.295, allocations: 3.938 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.295, allocations: 0 / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.295, allocations: 0 / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.657e-05/0.295, allocations: 15.94 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000341/0.2954, allocations: 304.7 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.433e-05/0.2954, allocations: 30.55 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.645e-05/0.2955, allocations: 8.922 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/0.2955, allocations: 0 / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001382/0.2956, allocations: 63.33 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.2956, allocations: 0 / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0001723/0.2958, allocations: 65.64 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.2958, allocations: 51.41 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.606e-05/0.2959, allocations: 113.8 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.296, allocations: 29.7 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.348e-05/0.296, allocations: 84.09 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.299e-05/0.296, allocations: 8 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.305e-05/0.2961, allocations: 41.56 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.763e-05/0.2962, allocations: 314.8 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.673e-05/0.2963, allocations: 27.98 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.381e-05/0.2963, allocations: 50.56 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.561e-05/0.2964, allocations: 76.27 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2964, allocations: 0 / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002313/0.2967, allocations: 147.2 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.649e-05/0.2967, allocations: 47.5 kB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2967, allocations: 0 / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.2968, allocations: 3.938 kB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.526e-05/0.2968, allocations: 8.094 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.2968, allocations: 0 / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.297, allocations: 23.97 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.297, allocations: 7.984 kB / 1.224 GB, free: 10.04 MB / 0.9825 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 7.712e-05/0.2971, allocations: 121.8 kB / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-06/0.2971, allocations: 0 / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.304e-05/0.2971, allocations: 3.906 kB / 1.224 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.2971, allocations: 4 kB / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2972, allocations: 0 / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.2972, allocations: 4 kB / 1.224 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.2973, allocations: 165.6 kB / 1.224 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.2973, allocations: 4 kB / 1.224 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.793e-06/0.2973, allocations: 0 / 1.224 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2973, allocations: 0 / 1.224 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.2973, allocations: 0 / 1.224 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2973, allocations: 0 / 1.224 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2973, allocations: 0 / 1.224 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.888e-05/0.2974, allocations: 96.94 kB / 1.224 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.841e-05/0.2975, allocations: 77.39 kB / 1.224 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.2975, allocations: 320 / 1.224 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.841e-05/0.2975, allocations: 4 kB / 1.224 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.984e-05/0.2975, allocations: 7.984 kB / 1.224 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.2975, allocations: 3.984 kB / 1.224 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.633e-05/0.2976, allocations: 83.28 kB / 1.225 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2976, allocations: 0 / 1.225 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000226/0.2978, allocations: 23.94 kB / 1.225 GB, free: 9.348 MB / 0.9825 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.0003438/0.2982, allocations: 0.6357 MB / 1.225 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001914/0.2984, allocations: 119.4 kB / 1.225 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2984, allocations: 4 kB / 1.225 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.75e-05/0.2984, allocations: 16.11 kB / 1.225 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.2986, allocations: 14.06 kB / 1.225 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.2998, allocations: 1.369 MB / 1.227 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.3, allocations: 0.6884 MB / 1.227 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.86e-05/0.3001, allocations: 4 kB / 1.227 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.686e-05/0.3001, allocations: 15.42 kB / 1.227 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.3001, allocations: 0 / 1.227 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01664/0.3167, allocations: 1.998 MB / 1.229 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.67/7.986, allocations: 21.44 kB / 1.229 GB, free: 4.453 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches