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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.174/3.174, allocations: 497.2 MB / 0.7811 GB, free: 33.64 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 68.45 kB / 1.134 GB, free: 33.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3779, allocations: 173.9 MB / 1.304 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002626/0.3806, allocations: 0.6181 MB / 1.305 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002092/0.3827, allocations: 1.124 MB / 1.306 GB, free: 15.63 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.836e-05/0.3827, allocations: 0 / 1.306 GB, free: 15.63 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.3829, allocations: 3.938 kB / 1.306 GB, free: 15.63 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.816e-05/0.3829, allocations: 7.984 kB / 1.306 GB, free: 15.62 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005685/0.3835, allocations: 123.3 kB / 1.306 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001934/0.3837, allocations: 91.89 kB / 1.306 GB, free: 15.41 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.928e-05/0.3838, allocations: 7.875 kB / 1.306 GB, free: 15.41 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.115e-05/0.3838, allocations: 35.91 kB / 1.306 GB, free: 15.37 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.384, allocations: 39.94 kB / 1.306 GB, free: 15.33 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.483e-05/0.384, allocations: 8 kB / 1.306 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.225e-05/0.3841, allocations: 19.98 kB / 1.306 GB, free: 15.3 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.053e-05/0.3841, allocations: 11.94 kB / 1.306 GB, free: 15.29 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.031e-05/0.3842, allocations: 35.91 kB / 1.306 GB, free: 15.26 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.3844, allocations: 83.77 kB / 1.306 GB, free: 15.18 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3844, allocations: 3.938 kB / 1.306 GB, free: 15.17 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3844, allocations: 4 kB / 1.306 GB, free: 15.17 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.3844, allocations: 0 / 1.306 GB, free: 15.17 MB / 1.014 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.000604/0.385, allocations: 381 kB / 1.306 GB, free: 14.74 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.3851, allocations: 12.92 kB / 1.306 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.309e-05/0.3851, allocations: 38.75 kB / 1.307 GB, free: 14.68 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.024e-05/0.3852, allocations: 4.938 kB / 1.307 GB, free: 14.68 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.3854, allocations: 192.2 kB / 1.307 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.3854, allocations: 384 / 1.307 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.3854, allocations: 8.375 kB / 1.307 GB, free: 14.44 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.3856, allocations: 50.25 kB / 1.307 GB, free: 14.39 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.3856, allocations: 3.938 kB / 1.307 GB, free: 14.38 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.3856, allocations: 0 / 1.307 GB, free: 14.38 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.3856, allocations: 0 / 1.307 GB, free: 14.38 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.912e-05/0.3856, allocations: 15.98 kB / 1.307 GB, free: 14.37 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004368/0.3861, allocations: 300.8 kB / 1.307 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.739e-05/0.3861, allocations: 18.58 kB / 1.307 GB, free: 14 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.326e-05/0.3861, allocations: 12.92 kB / 1.307 GB, free: 13.98 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.3861, allocations: 3.984 kB / 1.307 GB, free: 13.98 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000177/0.3863, allocations: 63.3 kB / 1.307 GB, free: 13.9 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.3863, allocations: 0 / 1.307 GB, free: 13.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.000194/0.3865, allocations: 65.66 kB / 1.307 GB, free: 13.83 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.3866, allocations: 51.41 kB / 1.307 GB, free: 13.77 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.3867, allocations: 105.8 kB / 1.307 GB, free: 13.66 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.3867, allocations: 29.7 kB / 1.307 GB, free: 13.62 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.939e-05/0.3868, allocations: 96.09 kB / 1.308 GB, free: 13.52 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.023e-05/0.3868, allocations: 3.953 kB / 1.308 GB, free: 13.52 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-05/0.3869, allocations: 29.7 kB / 1.308 GB, free: 13.48 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.387, allocations: 322.8 kB / 1.308 GB, free: 13.16 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.119e-05/0.3871, allocations: 27.98 kB / 1.308 GB, free: 13.13 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.566e-05/0.3872, allocations: 50.5 kB / 1.308 GB, free: 13.07 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.3873, allocations: 80.27 kB / 1.308 GB, free: 12.98 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3873, allocations: 0 / 1.308 GB, free: 12.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002534/0.3876, allocations: 143.3 kB / 1.308 GB, free: 12.83 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.567e-05/0.3876, allocations: 37.69 kB / 1.308 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.3876, allocations: 4 kB / 1.308 GB, free: 12.78 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.3876, allocations: 0 / 1.308 GB, free: 12.78 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.514e-05/0.3876, allocations: 0 / 1.308 GB, free: 12.78 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.361e-06/0.3877, allocations: 4.031 kB / 1.308 GB, free: 12.78 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.3879, allocations: 36.22 kB / 1.308 GB, free: 12.74 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.3879, allocations: 8 kB / 1.308 GB, free: 12.73 MB / 1.014 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.0001104/0.388, allocations: 121.8 kB / 1.308 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.261e-05/0.388, allocations: 11.89 kB / 1.308 GB, free: 12.59 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.058e-05/0.388, allocations: 11.84 kB / 1.308 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.388, allocations: 0 / 1.308 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.388, allocations: 0 / 1.308 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.388, allocations: 4 kB / 1.308 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.3882, allocations: 169.6 kB / 1.309 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3882, allocations: 0 / 1.309 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.861e-06/0.3882, allocations: 0 / 1.309 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.3882, allocations: 0 / 1.309 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.3882, allocations: 4 kB / 1.309 GB, free: 12.35 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3882, allocations: 0 / 1.309 GB, free: 12.35 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3882, allocations: 0 / 1.309 GB, free: 12.35 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.3883, allocations: 85 kB / 1.309 GB, free: 12.25 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.048e-05/0.3884, allocations: 85.05 kB / 1.309 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.3884, allocations: 8 kB / 1.309 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.368e-05/0.3884, allocations: 0 / 1.309 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.479e-05/0.3885, allocations: 0 / 1.309 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.3885, allocations: 4 kB / 1.309 GB, free: 12.14 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.696e-05/0.3885, allocations: 83.27 kB / 1.309 GB, free: 12.05 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3885, allocations: 0 / 1.309 GB, free: 12.05 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002079/0.3887, allocations: 20 kB / 1.309 GB, free: 12.04 MB / 1.014 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.0005329/0.3893, allocations: 0.619 MB / 1.309 GB, free: 11.39 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002311/0.3895, allocations: 107.3 kB / 1.31 GB, free: 11.27 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3895, allocations: 0 / 1.31 GB, free: 11.27 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.971e-05/0.3895, allocations: 11.98 kB / 1.31 GB, free: 11.26 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.3897, allocations: 22.36 kB / 1.31 GB, free: 11.24 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.3914, allocations: 1.377 MB / 1.311 GB, free: 9.762 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.3918, allocations: 0.6807 MB / 1.312 GB, free: 9.055 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.407e-05/0.3919, allocations: 0 / 1.312 GB, free: 9.055 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.868e-05/0.3919, allocations: 15.44 kB / 1.312 GB, free: 9.039 MB / 1.014 GB Notification: Performance of SimCode: time 3.2e-07/0.3919, allocations: 0 / 1.312 GB, free: 9.039 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02652/0.4184, allocations: 2.012 MB / 1.314 GB, free: 7.184 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.173/8.591, allocations: 4.094 kB / 1.314 GB, free: 7.184 MB / 1.014 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.291186379734427]