Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005244/0.005244, allocations: 104.2 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 195.2 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.286/2.286, allocations: 390.2 MB / 0.6648 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 59.56 kB / 0.9504 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.223, allocations: 140.4 MB / 1.087 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002634/0.2257, allocations: 1.783 MB / 1.089 GB, free: 216 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.227, allocations: 1.023 MB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.786e-05/0.2271, allocations: 0 / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005103/0.2276, allocations: 167.5 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002292/0.2279, allocations: 103.6 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003733/0.2283, allocations: 174.9 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.2284, allocations: 167.6 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.269e-05/0.2286, allocations: 32.83 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.724e-05/0.2286, allocations: 71.7 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.879e-05/0.2287, allocations: 63.75 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.2288, allocations: 8 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.2289, allocations: 75.88 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.162e-05/0.229, allocations: 43.84 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.553e-05/0.229, allocations: 59.62 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.2293, allocations: 198.8 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2293, allocations: 0 / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.123e-06/0.2293, allocations: 0 / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.2293, allocations: 0 / 1.091 GB, free: 14.04 MB / 0.8575 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.0005864/0.2299, allocations: 0.4888 MB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.2299, allocations: 11.97 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.071e-05/0.23, allocations: 38.75 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.23, allocations: 16.75 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.2303, allocations: 252.8 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.2303, allocations: 384 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.2303, allocations: 11.94 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.2305, allocations: 87.31 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.2305, allocations: 0 / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.2305, allocations: 0 / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.2306, allocations: 12 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.587e-05/0.2306, allocations: 31.98 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.2311, allocations: 356.5 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.2313, allocations: 70.67 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.19e-05/0.2314, allocations: 40.84 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.2314, allocations: 0 / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000138/0.2315, allocations: 83.31 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.2315, allocations: 0 / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0003047/0.2318, allocations: 145.5 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.2319, allocations: 81.05 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/0.2321, allocations: 262.9 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.2321, allocations: 33.7 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.557e-05/0.2322, allocations: 116.1 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.2322, allocations: 31.58 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/0.2323, allocations: 29.72 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.75e-05/0.2324, allocations: 330.8 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.407e-05/0.2325, allocations: 24 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.833e-05/0.2326, allocations: 63.34 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.2327, allocations: 73.64 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2327, allocations: 0 / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001836/0.2329, allocations: 121.7 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.2329, allocations: 5.562 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2329, allocations: 4 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.2329, allocations: 0 / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.521e-05/0.233, allocations: 11.98 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.233, allocations: 4.062 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.799e-05/0.2331, allocations: 15.88 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.2331, allocations: 4 kB / 1.094 GB, free: 10.96 MB / 0.8575 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.0001013/0.2332, allocations: 138.9 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.2332, allocations: 15.81 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.834e-05/0.2333, allocations: 21.55 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.557e-06/0.2333, allocations: 4 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2333, allocations: 4 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.2333, allocations: 11.88 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.2335, allocations: 217.5 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.2335, allocations: 0 / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.228e-05/0.2335, allocations: 7.984 kB / 1.094 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.2335, allocations: 0 / 1.094 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.2335, allocations: 8 kB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2335, allocations: 0 / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.2335, allocations: 7.969 kB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.2337, allocations: 148.8 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.621e-05/0.2338, allocations: 96.84 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.2338, allocations: 8 kB / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.629e-05/0.2339, allocations: 0 / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/0.2339, allocations: 11.92 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.2339, allocations: 4 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001518/0.2341, allocations: 192.6 kB / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2341, allocations: 0 / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002193/0.2343, allocations: 35.98 kB / 1.095 GB, free: 9.953 MB / 0.8575 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.001147/0.2355, allocations: 1.001 MB / 1.096 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001814/0.2357, allocations: 71.91 kB / 1.096 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.2357, allocations: 0 / 1.096 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.445e-05/0.2357, allocations: 40.05 kB / 1.096 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.236, allocations: 39.84 kB / 1.096 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.2378, allocations: 1.947 MB / 1.098 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.2381, allocations: 0.724 MB / 1.099 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.856e-05/0.2381, allocations: 21.72 kB / 1.099 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.915e-05/0.2382, allocations: 47.41 kB / 1.099 GB, free: 6.086 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.2382, allocations: 4 kB / 1.099 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6306/0.8688, allocations: 4.514 MB / 1.103 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.574/8.443, allocations: 10.19 kB / 1.103 GB, free: 1.637 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches