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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001455/0.001455, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.266/1.266, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.561/2.561, allocations: 461.9 MB / 0.7346 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 62.2 kB / 0.8992 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2867, allocations: 157.4 MB / 1.053 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001898/0.2886, allocations: 0.6255 MB / 1.054 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.2898, allocations: 1.127 MB / 1.055 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.22e-05/0.2899, allocations: 0 / 1.055 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.341e-05/0.29, allocations: 7.922 kB / 1.055 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 1.896e-05/0.29, allocations: 0 / 1.055 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004192/0.2904, allocations: 123.2 kB / 1.055 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.2906, allocations: 103.8 kB / 1.055 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.743e-05/0.2907, allocations: 8 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.472e-05/0.2907, allocations: 31.97 kB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.852e-05/0.2908, allocations: 31.89 kB / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.2908, allocations: 11.94 kB / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.963e-05/0.2909, allocations: 19.98 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.132e-05/0.291, allocations: 8 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.849e-05/0.291, allocations: 35.91 kB / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.2912, allocations: 84.06 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2912, allocations: 3.938 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2912, allocations: 0 / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.2912, allocations: 0 / 1.055 GB, free: 6.008 MB / 0.8106 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.0004112/0.2916, allocations: 385.1 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.2917, allocations: 8.625 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.182e-05/0.2917, allocations: 30.75 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.336e-05/0.2918, allocations: 12.92 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.2919, allocations: 184.2 kB / 1.056 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.292, allocations: 4.375 kB / 1.056 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.292, allocations: 4.375 kB / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.439e-05/0.2921, allocations: 50.23 kB / 1.056 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.2921, allocations: 3.938 kB / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-06/0.2921, allocations: 0 / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.2921, allocations: 0 / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.776e-05/0.2921, allocations: 12 kB / 1.056 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003123/0.2925, allocations: 312.7 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.614e-05/0.2925, allocations: 26.56 kB / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.374e-05/0.2925, allocations: 4.859 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.222e-06/0.2925, allocations: 0 / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001192/0.2927, allocations: 63.45 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.2927, allocations: 3.938 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001538/0.2928, allocations: 57.69 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.2929, allocations: 55.41 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.549e-05/0.293, allocations: 109.8 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.293, allocations: 29.7 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.379e-05/0.293, allocations: 84.14 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.827e-06/0.293, allocations: 3.906 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.206e-05/0.2931, allocations: 29.7 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.054e-05/0.2932, allocations: 330.8 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.546e-05/0.2933, allocations: 23.98 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.311e-05/0.2934, allocations: 50.56 kB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.716e-05/0.2935, allocations: 84.38 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2935, allocations: 0 / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002192/0.2937, allocations: 147.3 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.672e-05/0.2937, allocations: 37.69 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.2938, allocations: 0 / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.2938, allocations: 4 kB / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.317e-05/0.2938, allocations: 4.25 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.2938, allocations: 3.938 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.294, allocations: 35.88 kB / 1.057 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/0.294, allocations: 12.08 kB / 1.057 GB, free: 3.566 MB / 0.8106 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.664e-05/0.2941, allocations: 123.3 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.027e-06/0.2941, allocations: 0 / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.152e-05/0.2942, allocations: 7.906 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2942, allocations: 0 / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.2942, allocations: 0 / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.2942, allocations: 0 / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.2943, allocations: 165.6 kB / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2943, allocations: 0 / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.09e-06/0.2943, allocations: 0 / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2943, allocations: 4 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/0.2943, allocations: 4 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2943, allocations: 0 / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.2943, allocations: 3.984 kB / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.062e-05/0.2944, allocations: 81 kB / 1.058 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.289e-05/0.2945, allocations: 85.02 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.2945, allocations: 4 kB / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.3e-05/0.2945, allocations: 0 / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.443e-05/0.2945, allocations: 7.984 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.2945, allocations: 4 kB / 1.058 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.87e-05/0.2946, allocations: 83.28 kB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2946, allocations: 0 / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002013/0.2948, allocations: 16 kB / 1.058 GB, free: 2.891 MB / 0.8106 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.0003431/0.2951, allocations: 0.6202 MB / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001942/0.2953, allocations: 123.3 kB / 1.058 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2954, allocations: 0 / 1.058 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.61e-05/0.2954, allocations: 15.92 kB / 1.058 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001796/0.2956, allocations: 8 kB / 1.058 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.2968, allocations: 1.373 MB / 1.06 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.297, allocations: 0.6807 MB / 1.06 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.677e-05/0.2971, allocations: 4 kB / 1.06 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.594e-05/0.2971, allocations: 11.44 kB / 1.061 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.2971, allocations: 0 / 1.061 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02897/0.3261, allocations: 1.976 MB / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.895/8.221, allocations: 3.375 kB / 1.062 GB, free: 14.05 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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