Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002187/0.002187, allocations: 211.7 kB / 22.24 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.496/1.496, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.959/2.959, allocations: 476 MB / 0.7699 GB, free: 4.766 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002222/0.002222, allocations: 65.77 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.333, allocations: 170 MB / 1.283 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002259/0.3352, allocations: 0.609 MB / 1.283 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001864/0.3371, allocations: 1.133 MB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.946e-05/0.3372, allocations: 0 / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.3373, allocations: 11.86 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.911e-05/0.3373, allocations: 3.938 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005717/0.3379, allocations: 127.7 kB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000206/0.3381, allocations: 91.81 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.011e-05/0.3382, allocations: 4 kB / 1.284 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.979e-05/0.3382, allocations: 35.97 kB / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.3384, allocations: 27.89 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.3384, allocations: 8 kB / 1.285 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.026e-05/0.3385, allocations: 23.98 kB / 1.285 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.535e-05/0.3385, allocations: 0 / 1.285 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.083e-05/0.3386, allocations: 39.91 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.3389, allocations: 95.23 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3389, allocations: 0 / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.415e-06/0.3389, allocations: 4 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.3389, allocations: 0 / 1.285 GB, free: 10.29 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.0005935/0.3395, allocations: 305.9 kB / 1.285 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.3395, allocations: 8.031 kB / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.341e-05/0.3396, allocations: 34.75 kB / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.202e-05/0.3396, allocations: 4.938 kB / 1.285 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.3398, allocations: 134.5 kB / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.3399, allocations: 384 / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.3399, allocations: 8.375 kB / 1.285 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.34, allocations: 42.25 kB / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.34, allocations: 7.938 kB / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.34, allocations: 0 / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.34, allocations: 0 / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.549e-05/0.3401, allocations: 19.92 kB / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000493/0.3406, allocations: 260 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6e-05/0.3406, allocations: 14.58 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.291e-05/0.3407, allocations: 16.86 kB / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.298e-06/0.3407, allocations: 0 / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001686/0.3408, allocations: 67.33 kB / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3408, allocations: 0 / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002066/0.341, allocations: 61.69 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.3411, allocations: 59.34 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.613e-05/0.3412, allocations: 105.8 kB / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.3412, allocations: 25.7 kB / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.365e-05/0.3413, allocations: 96.08 kB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.164e-05/0.3413, allocations: 3.953 kB / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.475e-05/0.3413, allocations: 29.7 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.3415, allocations: 322.8 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.548e-05/0.3416, allocations: 61.61 kB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.3417, allocations: 80.27 kB / 1.286 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.3418, allocations: 84.2 kB / 1.286 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3418, allocations: 0 / 1.286 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002752/0.3421, allocations: 177 kB / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.175e-05/0.3421, allocations: 37.64 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3421, allocations: 0 / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.3421, allocations: 4 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.608e-05/0.3422, allocations: 0 / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.3422, allocations: 0 / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.3424, allocations: 32 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.3424, allocations: 7.984 kB / 1.287 GB, free: 7.961 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 0.0001093/0.3425, allocations: 121.8 kB / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.3425, allocations: 3.953 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.812e-05/0.3425, allocations: 12 kB / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3425, allocations: 0 / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3425, allocations: 0 / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3425, allocations: 3.984 kB / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.3427, allocations: 136.7 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3427, allocations: 0 / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.891e-06/0.3427, allocations: 4 kB / 1.287 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.3427, allocations: 3.938 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.3427, allocations: 4.312 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3427, allocations: 0 / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3427, allocations: 4 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.3428, allocations: 85.05 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.317e-06/0.3428, allocations: 3.953 kB / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.3429, allocations: 0 / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.328e-05/0.3429, allocations: 0 / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.3429, allocations: 8 kB / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.3429, allocations: 4 kB / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.552e-05/0.343, allocations: 83.27 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.343, allocations: 0 / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002193/0.3432, allocations: 16 kB / 1.287 GB, free: 7.402 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.000502/0.3437, allocations: 0.6283 MB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000246/0.3439, allocations: 129.1 kB / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3439, allocations: 3.938 kB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.173e-05/0.344, allocations: 15.98 kB / 1.288 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.3442, allocations: 12.12 kB / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.3459, allocations: 1.5 MB / 1.289 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.786e-05/0.346, allocations: 67.33 kB / 1.29 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.391e-05/0.346, allocations: 4 kB / 1.29 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.282e-05/0.346, allocations: 11.44 kB / 1.29 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of SimCode: time 6.41e-07/0.346, allocations: 4 kB / 1.29 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03048/0.3765, allocations: 2.604 MB / 1.292 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.62, allocations: 6.469 kB / 1.292 GB, free: 2.391 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.497170058079064]