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.01048/0.01048, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.001653/0.001653, allocations: 190.5 kB / 16.67 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.115/2.115, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.567/3.567, allocations: 390.3 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 67.88 kB / 0.9504 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.725/1.726, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.003129/1.73, allocations: 0.6221 MB / 1.088 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002224/1.732, allocations: 1.115 MB / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.233e-05/1.732, allocations: 1.594 kB / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001378/1.732, allocations: 3.938 kB / 1.089 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.166e-05/1.732, allocations: 5.641 kB / 1.089 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007717/1.733, allocations: 117.3 kB / 1.089 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002661/1.733, allocations: 102.6 kB / 1.089 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/1.733, allocations: 4.859 kB / 1.089 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.584e-05/1.733, allocations: 34.3 kB / 1.089 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/1.734, allocations: 35.33 kB / 1.089 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.145e-05/1.734, allocations: 8.969 kB / 1.089 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/1.734, allocations: 26.41 kB / 1.089 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.36e-05/1.734, allocations: 9.391 kB / 1.09 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001002/1.734, allocations: 35.02 kB / 1.09 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002697/1.734, allocations: 84.89 kB / 1.09 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/1.734, allocations: 4 kB / 1.09 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.793e-06/1.734, allocations: 3.938 kB / 1.09 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.895e-06/1.734, allocations: 1.156 kB / 1.09 GB, free: 3.867 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.0005973/1.735, allocations: 379.6 kB / 1.09 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.109e-05/1.735, allocations: 9.031 kB / 1.09 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.409e-05/1.735, allocations: 37.11 kB / 1.09 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.481e-05/1.735, allocations: 4.969 kB / 1.09 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/1.735, allocations: 182.1 kB / 1.09 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/1.735, allocations: 2.688 kB / 1.09 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.285e-05/1.735, allocations: 10.28 kB / 1.09 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/1.736, allocations: 43.41 kB / 1.09 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/1.736, allocations: 3.938 kB / 1.09 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/1.736, allocations: 5 kB / 1.09 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/1.736, allocations: 1.031 kB / 1.09 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.765e-05/1.736, allocations: 11.64 kB / 1.09 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006112/1.736, allocations: 313.1 kB / 1.091 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.444e-05/1.736, allocations: 21.95 kB / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.642e-05/1.737, allocations: 7.516 kB / 1.091 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/1.737, allocations: 1.766 kB / 1.091 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002592/1.737, allocations: 59.48 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 2.475e-06/1.737, allocations: 0 / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0003181/1.737, allocations: 69.36 kB / 1.091 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/1.737, allocations: 52.16 kB / 1.091 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/1.737, allocations: 113.3 kB / 1.091 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/1.737, allocations: 33.03 kB / 1.091 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.788e-05/1.737, allocations: 84.75 kB / 1.091 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/1.738, allocations: 9.516 kB / 1.091 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/1.738, allocations: 30.59 kB / 1.091 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001031/1.738, allocations: 321.2 kB / 1.091 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/1.738, allocations: 35.12 kB / 1.091 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/1.738, allocations: 48.27 kB / 1.091 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/1.738, allocations: 76.92 kB / 1.092 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/1.738, allocations: 0 / 1.092 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000394/1.739, allocations: 150.6 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.909e-05/1.739, allocations: 40.23 kB / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/1.739, allocations: 0 / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/1.739, allocations: 2.062 kB / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.554e-05/1.739, allocations: 9.656 kB / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/1.739, allocations: 4.953 kB / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003111/1.739, allocations: 24.39 kB / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.694e-05/1.739, allocations: 6.281 kB / 1.092 GB, free: 1.836 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 0.0001382/1.739, allocations: 124.5 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.634e-05/1.739, allocations: 2.156 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.764e-05/1.739, allocations: 9.703 kB / 1.092 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/1.739, allocations: 0 / 1.092 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/1.739, allocations: 1.688 kB / 1.092 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/1.739, allocations: 0 / 1.092 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/1.74, allocations: 163.3 kB / 1.092 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.74, allocations: 5.859 kB / 1.092 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.622e-06/1.74, allocations: 0 / 1.092 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/1.74, allocations: 0.8125 kB / 1.092 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/1.74, allocations: 5.609 kB / 1.092 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/1.74, allocations: 4.797 kB / 1.092 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.74, allocations: 1.062 kB / 1.092 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/1.74, allocations: 83.08 kB / 1.092 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.001e-05/1.74, allocations: 83.33 kB / 1.092 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/1.74, allocations: 1.75 kB / 1.092 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.08e-05/1.74, allocations: 0.6094 kB / 1.092 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/1.74, allocations: 3.406 kB / 1.092 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/1.74, allocations: 1.406 kB / 1.092 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.312e-05/1.74, allocations: 93.84 kB / 1.092 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.9e-07/1.74, allocations: 0 / 1.092 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003788/1.74, allocations: 16.06 kB / 1.092 GB, free: 1.227 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.0005592/1.741, allocations: 0.6181 MB / 1.093 GB, free: 16.62 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003655/1.741, allocations: 122.9 kB / 1.093 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.741, allocations: 0 / 1.093 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 4.69e-05/1.741, allocations: 13.08 kB / 1.093 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/1.742, allocations: 18.25 kB / 1.093 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/1.744, allocations: 1.367 MB / 1.094 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/1.744, allocations: 0.6844 MB / 1.095 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.163e-05/1.744, allocations: 6.922 kB / 1.095 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.055e-05/1.744, allocations: 14.73 kB / 1.095 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of SimCode: time 7.41e-07/1.744, allocations: 0 / 1.095 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03291/1.777, allocations: 1.995 MB / 1.097 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/13.51, allocations: 5.438 kB / 1.097 GB, free: 14.16 MB / 0.8731 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