Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_10_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.0008077/0.0008076, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005105/0.005105, allocations: 170.1 kB / 16.27 MB, free: 6.648 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.295/1.295, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.516/2.516, allocations: 437.8 MB / 0.7121 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003252/0.0003253, allocations: 12 kB / 0.8729 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.617/0.6173, allocations: 153.8 MB / 1.023 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002178/0.6195, allocations: 1.493 MB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001611/0.6212, allocations: 0.9871 MB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.6213, allocations: 4 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005908/0.6219, allocations: 159.6 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002653/0.6222, allocations: 103.7 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000449/0.6226, allocations: 147.4 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.6229, allocations: 167.5 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.623, allocations: 25.11 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.6231, allocations: 59.7 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.6233, allocations: 67.69 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.6233, allocations: 0 / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.6234, allocations: 47.97 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.508e-05/0.6235, allocations: 43.84 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.281e-05/0.6236, allocations: 77.31 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002708/0.6239, allocations: 197.5 kB / 1.027 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.6239, allocations: 0 / 1.027 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6239, allocations: 0 / 1.027 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.6239, allocations: 4 kB / 1.027 GB, free: 12.35 MB / 0.7794 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.0006533/0.6246, allocations: 472.4 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.6246, allocations: 8.031 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.14e-05/0.6247, allocations: 38.75 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.659e-05/0.6247, allocations: 24.73 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.625, allocations: 248.8 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.625, allocations: 384 / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.6251, allocations: 7.938 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.6252, allocations: 91.38 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.842e-06/0.6253, allocations: 0 / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.6253, allocations: 0 / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.6253, allocations: 4 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.261e-05/0.6254, allocations: 35.92 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004904/0.6259, allocations: 364.6 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.6261, allocations: 70.67 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.404e-05/0.6262, allocations: 40.78 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.6262, allocations: 0 / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/0.6264, allocations: 91.36 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.903e-06/0.6264, allocations: 0 / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0003221/0.6267, allocations: 137.7 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.6268, allocations: 81.11 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.627, allocations: 266.9 kB / 1.029 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.6271, allocations: 25.7 kB / 1.029 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.421e-05/0.6271, allocations: 123.9 kB / 1.029 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.833e-05/0.6272, allocations: 23.7 kB / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.6272, allocations: 17.72 kB / 1.029 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.6273, allocations: 334.8 kB / 1.029 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.328e-05/0.6274, allocations: 24 kB / 1.029 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.167e-05/0.6275, allocations: 59.41 kB / 1.029 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.6276, allocations: 77.62 kB / 1.029 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.6276, allocations: 112 / 1.029 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002074/0.6278, allocations: 121.4 kB / 1.029 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.6279, allocations: 4 kB / 1.029 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.6279, allocations: 4 kB / 1.029 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.6279, allocations: 0 / 1.029 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.375e-05/0.628, allocations: 11.98 kB / 1.029 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.628, allocations: 0 / 1.029 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.819e-05/0.6281, allocations: 15.88 kB / 1.029 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.6281, allocations: 3.938 kB / 1.029 GB, free: 9.305 MB / 0.7794 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.0001307/0.6282, allocations: 150.4 kB / 1.029 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.6282, allocations: 11.81 kB / 1.029 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.982e-05/0.6283, allocations: 21.39 kB / 1.029 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.6283, allocations: 8 kB / 1.029 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.6283, allocations: 0 / 1.029 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.6283, allocations: 3.938 kB / 1.029 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.6285, allocations: 217.5 kB / 1.03 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6285, allocations: 96 / 1.03 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.535e-05/0.6286, allocations: 11.92 kB / 1.03 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.6286, allocations: 4 kB / 1.03 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.6286, allocations: 4 kB / 1.03 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.6286, allocations: 0 / 1.03 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.6286, allocations: 4 kB / 1.03 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.6288, allocations: 148.8 kB / 1.03 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.216e-05/0.6289, allocations: 100.8 kB / 1.03 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/0.6289, allocations: 4 kB / 1.03 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.655e-05/0.629, allocations: 11.98 kB / 1.03 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.629, allocations: 7.938 kB / 1.03 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.629, allocations: 0 / 1.03 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000175/0.6292, allocations: 200.6 kB / 1.03 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6292, allocations: 0 / 1.03 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002376/0.6295, allocations: 24 kB / 1.03 GB, free: 8.301 MB / 0.7794 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.00134/0.6308, allocations: 1.001 MB / 1.031 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001984/0.631, allocations: 71.91 kB / 1.031 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.631, allocations: 0 / 1.031 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.305e-05/0.6311, allocations: 39.98 kB / 1.031 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.6314, allocations: 43.11 kB / 1.031 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.6336, allocations: 1.977 MB / 1.033 GB, free: 5.215 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.6338, allocations: 0.7281 MB / 1.034 GB, free: 4.461 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.911e-05/0.6339, allocations: 25.7 kB / 1.034 GB, free: 4.434 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.19e-05/0.634, allocations: 43.42 kB / 1.034 GB, free: 4.395 MB / 0.7794 GB Notification: Performance of SimCode: time 3.6e-07/0.634, allocations: 4 kB / 1.034 GB, free: 4.391 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01398/0.648, allocations: 4.011 MB / 1.038 GB, free: 0.5273 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/0.6482, allocations: 244.8 kB / 1.038 GB, free: 272 kB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/2.471, allocations: 0 / 1.038 GB, free: 272 kB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches