Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.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.001945/0.001945, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002673/0.002673, allocations: 216.2 kB / 22.26 MB, free: 5.125 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.626/1.626, allocations: 230.6 MB / 256 MB, free: 7.957 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.918/2.918, allocations: 476.7 MB / 0.7707 GB, free: 4.27 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.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BooleanReplicator",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.002116/0.002116, allocations: 68.64 kB / 1.117 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.313, allocations: 170 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003469/0.3164, allocations: 1.828 MB / 1.285 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002304/0.3187, allocations: 1.202 MB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.3189, allocations: 3.938 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007667/0.3196, allocations: 169.9 kB / 1.287 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005249/0.3202, allocations: 159.5 kB / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004504/0.3206, allocations: 135.6 kB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003065/0.3209, allocations: 171.5 kB / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.3211, allocations: 25.28 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.3212, allocations: 71.64 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.3214, allocations: 75.73 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.3214, allocations: 8 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.3216, allocations: 83.88 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.149e-05/0.3217, allocations: 43.84 kB / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.411e-05/0.3218, allocations: 59.61 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000381/0.3222, allocations: 214.6 kB / 1.288 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3222, allocations: 4 kB / 1.288 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3222, allocations: 0 / 1.288 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.275e-06/0.3222, allocations: 0 / 1.288 GB, free: 7.488 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008995/0.3231, allocations: 433 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.3231, allocations: 8.031 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.335e-05/0.3232, allocations: 38.75 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.893e-05/0.3233, allocations: 28.78 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003615/0.3236, allocations: 194 kB / 1.288 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.3237, allocations: 4.375 kB / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.3237, allocations: 7.938 kB / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.3239, allocations: 91.3 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.3239, allocations: 0 / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.3239, allocations: 8 kB / 1.288 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/0.3239, allocations: 4 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.3241, allocations: 39.91 kB / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006203/0.3247, allocations: 319.8 kB / 1.289 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002182/0.3249, allocations: 70.61 kB / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.787e-05/0.325, allocations: 36.84 kB / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.325, allocations: 0 / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001924/0.3252, allocations: 83.38 kB / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.743e-06/0.3252, allocations: 0 / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0003751/0.3256, allocations: 145.7 kB / 1.289 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/0.3256, allocations: 81.11 kB / 1.289 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003275/0.326, allocations: 279 kB / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.326, allocations: 29.7 kB / 1.289 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.3261, allocations: 120.1 kB / 1.289 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.3261, allocations: 23.8 kB / 1.289 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.326e-05/0.3262, allocations: 29.7 kB / 1.289 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.3263, allocations: 330.8 kB / 1.29 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.111e-05/0.3264, allocations: 23.98 kB / 1.29 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.3265, allocations: 67.45 kB / 1.29 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.3266, allocations: 69.64 kB / 1.29 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3266, allocations: 4 kB / 1.29 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002297/0.3269, allocations: 117.5 kB / 1.29 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.3269, allocations: 4 kB / 1.29 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.3269, allocations: 4 kB / 1.29 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3269, allocations: 0 / 1.29 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.277e-05/0.327, allocations: 19.97 kB / 1.29 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.327, allocations: 4 kB / 1.29 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.373e-05/0.3271, allocations: 15.88 kB / 1.29 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.3271, allocations: 4 kB / 1.29 GB, free: 4.574 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * 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.0001434/0.3272, allocations: 138.4 kB / 1.29 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.3273, allocations: 19.86 kB / 1.29 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000274/0.3275, allocations: 127.1 kB / 1.29 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.3275, allocations: 11.92 kB / 1.29 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3275, allocations: 4 kB / 1.29 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3275, allocations: 3.938 kB / 1.29 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.3278, allocations: 192.7 kB / 1.291 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.3278, allocations: 0 / 1.291 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.685e-05/0.3278, allocations: 8 kB / 1.291 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3278, allocations: 0 / 1.291 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.3278, allocations: 3.984 kB / 1.291 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3278, allocations: 0 / 1.291 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3278, allocations: 4 kB / 1.291 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.328, allocations: 148.8 kB / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.3281, allocations: 19.89 kB / 1.291 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.3281, allocations: 4 kB / 1.291 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.804e-05/0.3282, allocations: 0 / 1.291 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.3282, allocations: 11.92 kB / 1.291 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.3282, allocations: 4 kB / 1.291 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002131/0.3284, allocations: 200.7 kB / 1.291 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3284, allocations: 0 / 1.291 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002591/0.3287, allocations: 35.92 kB / 1.291 GB, free: 3.578 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: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002037/0.3307, allocations: 0.9948 MB / 1.292 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002798/0.331, allocations: 71.91 kB / 1.292 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.331, allocations: 4.062 kB / 1.292 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.843e-05/0.3311, allocations: 31.98 kB / 1.292 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.3314, allocations: 44.98 kB / 1.292 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002805/0.3342, allocations: 1.995 MB / 1.294 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.3346, allocations: 0.7241 MB / 1.295 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.706e-05/0.3347, allocations: 25.7 kB / 1.295 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.3348, allocations: 47.42 kB / 1.295 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of SimCode: time 7.32e-07/0.3348, allocations: 0 / 1.295 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03641/0.3713, allocations: 4.799 MB / 1.3 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.47, allocations: 10.2 kB / 1.3 GB, free: 10.95 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.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.571752161020413]