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.0008816/0.0008816, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001323/0.001323, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.925/0.925, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.796/1.796, allocations: 377.8 MB / 0.6221 GB, free: 8.684 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.981 GB, free: 2.617 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.695e-05/1.85e-05, allocations: 2.281 kB / 0.981 GB, free: 2.613 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002265/0.002284, allocations: 1.791 MB / 0.9827 GB, free: 0.8125 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001434/0.003718, allocations: 1.122 MB / 0.9838 GB, free: 15.68 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.497e-05/0.003803, allocations: 0 / 0.9838 GB, free: 15.68 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.000528/0.004331, allocations: 167.4 kB / 0.984 GB, free: 15.52 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002723/0.004603, allocations: 163.4 kB / 0.9841 GB, free: 15.36 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.004859, allocations: 139.5 kB / 0.9843 GB, free: 15.22 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.005038, allocations: 179.5 kB / 0.9844 GB, free: 15.05 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.005139, allocations: 17.3 kB / 0.9844 GB, free: 15.03 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.005248, allocations: 107.7 kB / 0.9845 GB, free: 14.93 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.901e-05/0.005337, allocations: 63.86 kB / 0.9846 GB, free: 14.86 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.005354, allocations: 8 kB / 0.9846 GB, free: 14.86 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.005469, allocations: 67.88 kB / 0.9847 GB, free: 14.79 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 6.506e-05/0.005534, allocations: 47.84 kB / 0.9847 GB, free: 14.74 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 4.683e-05/0.005581, allocations: 35.84 kB / 0.9848 GB, free: 14.71 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.005807, allocations: 207.4 kB / 0.985 GB, free: 14.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.005809, allocations: 0 / 0.985 GB, free: 14.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.162e-06/0.005811, allocations: 0 / 0.985 GB, free: 14.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.005815, allocations: 0 / 0.985 GB, free: 14.5 MB / 0.948 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.0005678/0.006383, allocations: 438.8 kB / 0.9854 GB, free: 14.04 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.006427, allocations: 12.02 kB / 0.9854 GB, free: 14.03 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.91e-05/0.006456, allocations: 30.75 kB / 0.9854 GB, free: 13.99 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.006499, allocations: 16.84 kB / 0.9854 GB, free: 13.97 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.006751, allocations: 194.1 kB / 0.9856 GB, free: 13.76 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.006768, allocations: 8.375 kB / 0.9856 GB, free: 13.75 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.006779, allocations: 4.375 kB / 0.9856 GB, free: 13.75 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.006941, allocations: 73.92 kB / 0.9857 GB, free: 13.67 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.00695, allocations: 3.984 kB / 0.9857 GB, free: 13.66 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.00696, allocations: 4 kB / 0.9857 GB, free: 13.66 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.006972, allocations: 11.92 kB / 0.9857 GB, free: 13.65 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.194e-05/0.007054, allocations: 35.98 kB / 0.9857 GB, free: 13.61 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004614/0.007516, allocations: 327.6 kB / 0.9861 GB, free: 13.25 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.007668, allocations: 70.67 kB / 0.9861 GB, free: 13.17 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.848e-05/0.007717, allocations: 36.84 kB / 0.9862 GB, free: 13.13 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.007734, allocations: 0 / 0.9862 GB, free: 13.13 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001444/0.007879, allocations: 87.31 kB / 0.9862 GB, free: 13.04 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.00788, allocations: 0 / 0.9862 GB, free: 13.04 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0002918/0.008172, allocations: 145.5 kB / 0.9864 GB, free: 12.89 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.00821, allocations: 63.34 kB / 0.9864 GB, free: 12.81 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.008416, allocations: 263.2 kB / 0.9867 GB, free: 12.55 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.008433, allocations: 33.69 kB / 0.9867 GB, free: 12.51 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.853e-05/0.008501, allocations: 124.1 kB / 0.9868 GB, free: 12.38 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.008526, allocations: 23.84 kB / 0.9869 GB, free: 12.36 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/0.008563, allocations: 25.7 kB / 0.9869 GB, free: 12.33 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.008665, allocations: 334.8 kB / 0.9872 GB, free: 11.99 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.763e-05/0.008712, allocations: 23.98 kB / 0.9872 GB, free: 11.97 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.179e-05/0.008784, allocations: 84.25 kB / 0.9873 GB, free: 11.87 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.415e-05/0.008878, allocations: 78.05 kB / 0.9874 GB, free: 11.79 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.008881, allocations: 0 / 0.9874 GB, free: 11.79 MB / 0.948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001474/0.009029, allocations: 121.5 kB / 0.9875 GB, free: 11.66 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.009044, allocations: 4 kB / 0.9875 GB, free: 11.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.009054, allocations: 0 / 0.9875 GB, free: 11.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.009067, allocations: 4 kB / 0.9875 GB, free: 11.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.198e-05/0.009129, allocations: 15.98 kB / 0.9875 GB, free: 11.64 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.009134, allocations: 0 / 0.9875 GB, free: 11.64 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.077e-05/0.009175, allocations: 15.92 kB / 0.9875 GB, free: 11.62 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-06/0.009183, allocations: 4 kB / 0.9875 GB, free: 11.62 MB / 0.948 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.0001053/0.009288, allocations: 142.3 kB / 0.9877 GB, free: 11.47 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.757e-05/0.009306, allocations: 20 kB / 0.9877 GB, free: 11.45 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001955/0.009501, allocations: 135 kB / 0.9878 GB, free: 11.32 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.00951, allocations: 4 kB / 0.9878 GB, free: 11.31 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.009515, allocations: 0 / 0.9878 GB, free: 11.31 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.009519, allocations: 0 / 0.9878 GB, free: 11.31 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.00967, allocations: 196.6 kB / 0.988 GB, free: 11.08 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.009672, allocations: 4 kB / 0.988 GB, free: 11.07 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.14e-05/0.009694, allocations: 4 kB / 0.988 GB, free: 11.07 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.009698, allocations: 4 kB / 0.988 GB, free: 11.07 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.009707, allocations: 4 kB / 0.988 GB, free: 11.06 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.009709, allocations: 240 / 0.988 GB, free: 11.06 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.00971, allocations: 0 / 0.988 GB, free: 11.06 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.009864, allocations: 160.8 kB / 0.9882 GB, free: 10.89 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.133e-05/0.009885, allocations: 15.84 kB / 0.9882 GB, free: 10.87 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.009907, allocations: 8 kB / 0.9882 GB, free: 10.86 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.519e-05/0.009932, allocations: 3.984 kB / 0.9882 GB, free: 10.86 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.00997, allocations: 7.984 kB / 0.9882 GB, free: 10.85 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.547e-06/0.00998, allocations: 8 kB / 0.9882 GB, free: 10.84 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001329/0.01011, allocations: 200.6 kB / 0.9884 GB, free: 10.65 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01011, allocations: 0 / 0.9884 GB, free: 10.65 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001855/0.0103, allocations: 39.88 kB / 0.9885 GB, free: 10.61 MB / 0.948 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 (8): * Single equations (assignments): 5 * 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.001068/0.01137, allocations: 1.041 MB / 0.9895 GB, free: 9.723 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001644/0.01153, allocations: 71.95 kB / 0.9895 GB, free: 9.652 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01153, allocations: 64 / 0.9895 GB, free: 9.652 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.487e-05/0.01159, allocations: 51.91 kB / 0.9896 GB, free: 9.602 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.0118, allocations: 33.28 kB / 0.9896 GB, free: 9.574 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.01369, allocations: 2.005 MB / 0.9916 GB, free: 7.48 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.959e-05/0.01377, allocations: 122.5 kB / 0.9917 GB, free: 7.344 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.402e-05/0.01383, allocations: 21.8 kB / 0.9917 GB, free: 7.324 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.637e-05/0.01391, allocations: 64.34 kB / 0.9918 GB, free: 7.262 MB / 0.948 GB Notification: Performance of SimCode: time 7.41e-07/0.01391, allocations: 3.938 kB / 0.9918 GB, free: 7.258 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01866/0.03257, allocations: 5.427 MB / 0.9971 GB, free: 1.91 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.143/7.175, allocations: 6.875 kB / 0.9971 GB, free: 1.906 MB / 0.948 GB " [Timeout remaining time 293] (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/jenkins/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: 11.28555777296424]