Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Controls.OBC.CDL.Logical.Validation.OnOffController,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",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.001168/0.001168, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001127/0.001127, allocations: 196.8 kB / 16.26 MB, free: 6.629 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.316/1.316, allocations: 222.9 MB / 239.9 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.406/2.406, allocations: 437 MB / 0.7101 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 63.89 kB / 0.8689 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6543/0.6558, allocations: 151.6 MB / 1.017 GB, free: 2.66 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.002402/0.6583, allocations: 0.7786 MB / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.6595, allocations: 0.8312 MB / 1.019 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.884e-05/0.6596, allocations: 0 / 1.019 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.146e-05/0.6597, allocations: 0 / 1.019 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.097e-05/0.6598, allocations: 7.938 kB / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.66, allocations: 15.98 kB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.6601, allocations: 47.86 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.6603, allocations: 15.97 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.43e-05/0.6604, allocations: 15.94 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.366e-05/0.6605, allocations: 23.91 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.6605, allocations: 4 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.713e-05/0.6605, allocations: 4 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.942e-05/0.6605, allocations: 8 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.054e-05/0.6606, allocations: 19.86 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.6607, allocations: 43.86 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.6607, allocations: 0 / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.214e-06/0.6607, allocations: 4 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.6607, allocations: 0 / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006345/0.6614, allocations: 385.5 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.6614, allocations: 8.031 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.978e-05/0.6615, allocations: 42.67 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.907e-05/0.6615, allocations: 4.875 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.6616, allocations: 168.3 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.6616, allocations: 384 / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.6617, allocations: 8.375 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.6619, allocations: 66.22 kB / 1.019 GB, free: 60 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.6619, allocations: 3.938 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.6619, allocations: 4 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.6619, allocations: 0 / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.6621, allocations: 43.95 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005413/0.6626, allocations: 308.6 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002384/0.6629, allocations: 50.55 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.104e-05/0.663, allocations: 25 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.663, allocations: 7.938 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.663, allocations: 34.5 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.663, allocations: 4 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0003589/0.6634, allocations: 85.62 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.6634, allocations: 59.41 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.997e-05/0.6635, allocations: 109.8 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.6636, allocations: 29.7 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.046e-05/0.6636, allocations: 88.08 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.6636, allocations: 15.81 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.6637, allocations: 17.7 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.6638, allocations: 318.8 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.143e-05/0.6639, allocations: 19.98 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.852e-05/0.664, allocations: 27.91 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.6642, allocations: 40.83 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.6642, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002023/0.6644, allocations: 73.66 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.6644, allocations: 11.98 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.6644, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.6644, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.915e-05/0.6645, allocations: 16 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.6645, allocations: 4.375 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.6646, allocations: 15.97 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.6647, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (onOffController.y,$PRE.onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * 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 9.079e-05/0.6648, allocations: 118.2 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.6648, allocations: 11.84 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002482/0.665, allocations: 85.55 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.6651, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.6651, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.6651, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.6652, allocations: 173.6 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.6653, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.699e-05/0.6653, allocations: 4 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.6653, allocations: 4 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.6653, allocations: 384 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.6654, allocations: 3.984 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.6654, allocations: 11.88 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.6656, allocations: 171.4 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.6657, allocations: 81.02 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.6657, allocations: 0 / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.6658, allocations: 27.97 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.486e-05/0.6659, allocations: 0 / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.6659, allocations: 4 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.683e-05/0.6659, allocations: 91.27 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6659, allocations: 0 / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002124/0.6662, allocations: 4 kB / 1.021 GB, free: 13.66 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: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0005461/0.6667, allocations: 0.7162 MB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00022/0.6669, allocations: 51.95 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.6669, allocations: 0 / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.884e-05/0.667, allocations: 23.92 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.6674, allocations: 12.23 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.6687, allocations: 1.332 MB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.6689, allocations: 0.6807 MB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.222e-05/0.669, allocations: 4 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.461e-05/0.669, allocations: 23.36 kB / 1.024 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.669, allocations: 0 / 1.024 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01124/0.6803, allocations: 1.582 MB / 1.026 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002096/0.6805, allocations: 219.9 kB / 1.026 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.675/2.355, allocations: 0 / 1.026 GB, free: 8.984 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches