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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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.0009065/0.0009065, allocations: 97.72 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.005744/0.005744, allocations: 171.1 kB / 16.27 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.347/1.347, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.619/2.619, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004758/0.0004759, allocations: 14.91 kB / 0.9029 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3088, allocations: 159.6 MB / 1.059 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.0007823/0.3097, allocations: 373.7 kB / 1.059 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001592/0.3113, allocations: 1.12 MB / 1.06 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.152e-05/0.3113, allocations: 0 / 1.06 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.079e-05/0.3114, allocations: 0 / 1.06 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.918e-05/0.3114, allocations: 7.922 kB / 1.06 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004262/0.3119, allocations: 114.7 kB / 1.06 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000126/0.312, allocations: 79.77 kB / 1.06 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.054e-05/0.3121, allocations: 11.98 kB / 1.06 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.894e-05/0.3122, allocations: 31.97 kB / 1.06 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.369e-05/0.3123, allocations: 23.91 kB / 1.06 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.3123, allocations: 4 kB / 1.06 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.76e-05/0.3124, allocations: 15.98 kB / 1.06 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.831e-05/0.3125, allocations: 7.984 kB / 1.061 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.335e-05/0.3125, allocations: 61.55 kB / 1.061 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.3127, allocations: 80.05 kB / 1.061 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3127, allocations: 0 / 1.061 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3127, allocations: 0 / 1.061 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.3127, allocations: 0 / 1.061 GB, free: 2.938 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.0005314/0.3133, allocations: 365.2 kB / 1.061 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.3133, allocations: 19.91 kB / 1.061 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.19e-05/0.3134, allocations: 34.75 kB / 1.061 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.072e-05/0.3134, allocations: 8.844 kB / 1.061 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.3137, allocations: 188.3 kB / 1.061 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.3137, allocations: 384 / 1.061 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.3137, allocations: 8.375 kB / 1.061 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.3138, allocations: 46.25 kB / 1.061 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.3139, allocations: 3.938 kB / 1.061 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.3139, allocations: 3.984 kB / 1.061 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3139, allocations: 4 kB / 1.061 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.439e-05/0.3139, allocations: 15.94 kB / 1.061 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/0.3143, allocations: 300.8 kB / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.296e-05/0.3144, allocations: 22.58 kB / 1.062 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.881e-05/0.3144, allocations: 12.91 kB / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.3144, allocations: 4 kB / 1.062 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.3146, allocations: 59.34 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.3146, allocations: 0 / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001873/0.3148, allocations: 61.67 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.3148, allocations: 51.41 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.688e-05/0.3149, allocations: 109.8 kB / 1.062 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.3149, allocations: 29.7 kB / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.983e-05/0.315, allocations: 100.1 kB / 1.062 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.154e-05/0.315, allocations: 3.906 kB / 1.062 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.3151, allocations: 21.7 kB / 1.062 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.3152, allocations: 314.8 kB / 1.062 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.271e-05/0.3153, allocations: 39.86 kB / 1.062 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.283e-05/0.3153, allocations: 42.56 kB / 1.062 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.3155, allocations: 88.2 kB / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3155, allocations: 0 / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002293/0.3157, allocations: 139.3 kB / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.481e-05/0.3158, allocations: 41.69 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.3158, allocations: 240 / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.3158, allocations: 7.938 kB / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.674e-05/0.3158, allocations: 0 / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.3158, allocations: 0 / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002557/0.3161, allocations: 43.97 kB / 1.063 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.3161, allocations: 11.97 kB / 1.063 GB, free: 0.5 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 8.355e-05/0.3162, allocations: 117.8 kB / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.031e-05/0.3162, allocations: 4 kB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.196e-05/0.3163, allocations: 3.906 kB / 1.063 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3163, allocations: 4 kB / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3163, allocations: 0 / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.3163, allocations: 3.984 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.3164, allocations: 165.6 kB / 1.063 GB, free: 148 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3164, allocations: 320 / 1.063 GB, free: 148 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.392e-06/0.3164, allocations: 0 / 1.063 GB, free: 148 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3164, allocations: 4 kB / 1.063 GB, free: 144 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.3164, allocations: 4 kB / 1.063 GB, free: 140 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3164, allocations: 3.984 kB / 1.063 GB, free: 136 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3165, allocations: 3.984 kB / 1.063 GB, free: 132 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.3166, allocations: 85 kB / 1.063 GB, free: 28 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.568e-05/0.3167, allocations: 85.02 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.3167, allocations: 0 / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.349e-05/0.3167, allocations: 0 / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.423e-05/0.3167, allocations: 3.984 kB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.3167, allocations: 4 kB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.1e-05/0.3168, allocations: 83.28 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3168, allocations: 0 / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002078/0.317, allocations: 20 kB / 1.063 GB, free: 15.82 MB / 0.8262 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.0004474/0.3175, allocations: 0.622 MB / 1.064 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002273/0.3177, allocations: 123.3 kB / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3177, allocations: 0 / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.599e-05/0.3177, allocations: 20.11 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.318, allocations: 8 kB / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.3195, allocations: 1.366 MB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.3198, allocations: 0.6848 MB / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.237e-05/0.3199, allocations: 7.984 kB / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.438e-05/0.3199, allocations: 11.44 kB / 1.066 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of SimCode: time 4.4e-07/0.3199, allocations: 0 / 1.066 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02025/0.3402, allocations: 1.76 MB / 1.068 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002185/0.3404, allocations: 231.1 kB / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.815/2.155, allocations: 0 / 1.068 GB, free: 10.98 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