Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001543/0.001543, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001958/0.001958, allocations: 220.5 kB / 22.25 MB, free: 5.105 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.579/1.579, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.206/3.206, allocations: 0.49 GB / 0.7951 GB, free: 35.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_12_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.001984/0.001984, allocations: 73.22 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3519, allocations: 176.1 MB / 1.326 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002037/0.354, allocations: 0.6275 MB / 1.326 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001726/0.3557, allocations: 1.14 MB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.462e-05/0.3557, allocations: 4 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.3558, allocations: 3.938 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 2.36e-05/0.3559, allocations: 0 / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005308/0.3564, allocations: 122.7 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.3566, allocations: 95.81 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.065e-05/0.3567, allocations: 7.969 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.797e-05/0.3567, allocations: 39.92 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.3569, allocations: 35.94 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.3569, allocations: 8 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.542e-05/0.3569, allocations: 16 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.558e-05/0.357, allocations: 15.92 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.409e-05/0.3571, allocations: 27.92 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.3573, allocations: 83.78 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3573, allocations: 4 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3573, allocations: 0 / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.3573, allocations: 0 / 1.328 GB, free: 15.29 MB / 1.029 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.0004799/0.3578, allocations: 307.8 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.3578, allocations: 8.031 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.3578, allocations: 38.75 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.037e-05/0.3579, allocations: 8.891 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.3581, allocations: 126.5 kB / 1.328 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.3581, allocations: 4.375 kB / 1.328 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.3581, allocations: 8.359 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.3582, allocations: 46.25 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.3582, allocations: 7.875 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.3582, allocations: 4 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.3582, allocations: 0 / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.091e-05/0.3583, allocations: 8 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.3587, allocations: 263.9 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.076e-05/0.3587, allocations: 22.58 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.108e-05/0.3587, allocations: 12.91 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-06/0.3587, allocations: 0 / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001439/0.3589, allocations: 63.34 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3589, allocations: 3.938 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0001785/0.3591, allocations: 61.67 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.3591, allocations: 51.41 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.681e-05/0.3592, allocations: 105.8 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.3592, allocations: 29.7 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.562e-05/0.3593, allocations: 96.09 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.039e-05/0.3593, allocations: 3.953 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.548e-05/0.3594, allocations: 29.7 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.3595, allocations: 326.8 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.048e-05/0.3596, allocations: 53.69 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.3597, allocations: 88.19 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.3598, allocations: 76.27 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3598, allocations: 0 / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002715/0.3601, allocations: 177 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.728e-05/0.3601, allocations: 37.69 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3601, allocations: 0 / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.3601, allocations: 0 / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.42e-05/0.3601, allocations: 4 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3601, allocations: 3.938 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.3603, allocations: 31.86 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.3604, allocations: 8 kB / 1.33 GB, free: 12.96 MB / 1.029 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 9.842e-05/0.3605, allocations: 126.4 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.747e-06/0.3605, allocations: 0 / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.902e-05/0.3605, allocations: 8.234 kB / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.3605, allocations: 4 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.3605, allocations: 0 / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.3605, allocations: 3.984 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.3606, allocations: 132.7 kB / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3606, allocations: 0 / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.24e-06/0.3606, allocations: 0 / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.3606, allocations: 0 / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.3606, allocations: 3.984 kB / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3606, allocations: 8 kB / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3606, allocations: 3.938 kB / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.3607, allocations: 81 kB / 1.33 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-06/0.3608, allocations: 7.953 kB / 1.33 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.3608, allocations: 4.25 kB / 1.33 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.536e-05/0.3608, allocations: 4 kB / 1.33 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/0.3608, allocations: 11.98 kB / 1.33 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.3608, allocations: 0 / 1.33 GB, free: 12.49 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.456e-05/0.3609, allocations: 79.28 kB / 1.33 GB, free: 12.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3609, allocations: 0 / 1.33 GB, free: 12.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002114/0.3611, allocations: 20 kB / 1.331 GB, free: 12.39 MB / 1.029 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.0004777/0.3616, allocations: 0.6202 MB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002283/0.3618, allocations: 141 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3618, allocations: 0 / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.906e-05/0.3618, allocations: 12 kB / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.362, allocations: 9.109 kB / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.3636, allocations: 1.505 MB / 1.333 GB, free: 9.938 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.48e-05/0.3637, allocations: 67.53 kB / 1.333 GB, free: 9.852 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.392e-05/0.3637, allocations: 4 kB / 1.333 GB, free: 9.848 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.47e-05/0.3638, allocations: 15.42 kB / 1.333 GB, free: 9.832 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.3638, allocations: 0 / 1.333 GB, free: 9.832 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03058/0.3944, allocations: 2.641 MB / 1.335 GB, free: 7.348 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.56, allocations: 1.719 kB / 1.335 GB, free: 7.348 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.449988724983996]