Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001404/0.001404, allocations: 101 kB / 16.45 MB, free: 6.449 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.00167/0.00167, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.593/1.593, allocations: 230.6 MB / 252.8 MB, free: 9.141 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.256/3.256, allocations: 0.49 GB / 0.7916 GB, free: 33.1 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.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_12_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.002109/0.002109, allocations: 79.06 kB / 1.149 GB, free: 26.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3869, allocations: 176.1 MB / 1.321 GB, free: 3.32 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003461/0.3904, allocations: 1.823 MB / 1.323 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002044/0.3924, allocations: 1.191 MB / 1.324 GB, free: 296 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.658e-05/0.3925, allocations: 3.938 kB / 1.324 GB, free: 292 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006241/0.3931, allocations: 167.5 kB / 1.324 GB, free: 124 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0004086/0.3935, allocations: 152.2 kB / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000379/0.3939, allocations: 137.1 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002417/0.3942, allocations: 175.5 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.994e-05/0.3943, allocations: 13.11 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.3944, allocations: 79.69 kB / 1.324 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.3945, allocations: 79.67 kB / 1.325 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.3945, allocations: 8 kB / 1.325 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.3947, allocations: 67.94 kB / 1.325 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.235e-05/0.3947, allocations: 43.84 kB / 1.325 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.715e-05/0.3948, allocations: 59.61 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003083/0.3951, allocations: 215.3 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3951, allocations: 0 / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3951, allocations: 4 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.3951, allocations: 0 / 1.325 GB, free: 15.11 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007882/0.3959, allocations: 0.4922 MB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.396, allocations: 15.98 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.316e-05/0.396, allocations: 34.75 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.345e-05/0.3961, allocations: 20.8 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003466/0.3964, allocations: 252 kB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.3964, allocations: 4.375 kB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.3964, allocations: 11.88 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.3966, allocations: 95.31 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.3966, allocations: 0 / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.3967, allocations: 0 / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.3967, allocations: 4 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.814e-05/0.3968, allocations: 35.92 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005371/0.3973, allocations: 360.7 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.3975, allocations: 74.61 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.392e-05/0.3976, allocations: 28.84 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.3976, allocations: 4 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001655/0.3978, allocations: 75.38 kB / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.3978, allocations: 4 kB / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0003633/0.3981, allocations: 149.5 kB / 1.326 GB, free: 13.28 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.423e-05/0.3982, allocations: 77.11 kB / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003159/0.3985, allocations: 279 kB / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.3985, allocations: 29.7 kB / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.965e-05/0.3986, allocations: 116.1 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.3987, allocations: 31.73 kB / 1.327 GB, free: 12.72 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.558e-05/0.3987, allocations: 29.7 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3989, allocations: 330.8 kB / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.398e-05/0.399, allocations: 27.98 kB / 1.327 GB, free: 12.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.643e-05/0.3991, allocations: 67.28 kB / 1.327 GB, free: 12.25 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.3992, allocations: 74.02 kB / 1.328 GB, free: 12.17 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3992, allocations: 0 / 1.328 GB, free: 12.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002193/0.3994, allocations: 121.6 kB / 1.328 GB, free: 12.04 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.3994, allocations: 8 kB / 1.328 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.3994, allocations: 0 / 1.328 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.3995, allocations: 0 / 1.328 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.968e-05/0.3995, allocations: 11.94 kB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.3995, allocations: 4 kB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.367e-05/0.3996, allocations: 11.92 kB / 1.328 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.3996, allocations: 0 / 1.328 GB, free: 12.01 MB / 1.029 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.0001454/0.3998, allocations: 149.8 kB / 1.328 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.3998, allocations: 19.86 kB / 1.328 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.978e-05/0.3998, allocations: 17.39 kB / 1.328 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.3999, allocations: 4 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.3999, allocations: 4 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.3999, allocations: 3.938 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.4001, allocations: 229.5 kB / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4001, allocations: 0 / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.558e-05/0.4001, allocations: 7.984 kB / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4001, allocations: 0 / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.4001, allocations: 8 kB / 1.328 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.4001, allocations: 3.938 kB / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4001, allocations: 0 / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.4004, allocations: 148.9 kB / 1.328 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.891e-05/0.4005, allocations: 89.02 kB / 1.328 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.4005, allocations: 4 kB / 1.328 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.033e-05/0.4005, allocations: 4 kB / 1.328 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.4006, allocations: 15.92 kB / 1.328 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.4006, allocations: 7.938 kB / 1.328 GB, free: 11.2 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002093/0.4008, allocations: 204.6 kB / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4008, allocations: 0 / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002563/0.4011, allocations: 27.94 kB / 1.329 GB, free: 10.98 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: 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.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent) * 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.002058/0.4031, allocations: 0.9937 MB / 1.33 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002399/0.4034, allocations: 63.97 kB / 1.33 GB, free: 10.05 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4034, allocations: 0 / 1.33 GB, free: 10.05 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.573e-05/0.4035, allocations: 35.92 kB / 1.33 GB, free: 10.02 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.4038, allocations: 43.23 kB / 1.33 GB, free: 9.98 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00295/0.4068, allocations: 2.007 MB / 1.332 GB, free: 7.879 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000459/0.4072, allocations: 0.728 MB / 1.332 GB, free: 7.125 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001037/0.4073, allocations: 21.41 kB / 1.332 GB, free: 7.105 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.4074, allocations: 51.42 kB / 1.332 GB, free: 7.055 MB / 1.029 GB Notification: Performance of SimCode: time 1.352e-06/0.4074, allocations: 0 / 1.332 GB, free: 7.055 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03071/0.4381, allocations: 4.638 MB / 1.337 GB, free: 2.484 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.254/8.692, allocations: 15.2 kB / 1.337 GB, free: 2.477 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.738392522092909]