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.001558/0.001558, allocations: 104 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 196.5 kB / 16.54 MB, free: 6.684 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.414/1.414, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.626/2.626, allocations: 437 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 72.08 kB / 0.8694 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5912/0.5927, allocations: 151.6 MB / 1.017 GB, free: 2.566 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.002522/0.5953, allocations: 0.7121 MB / 1.018 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001087/0.5964, allocations: 0.8312 MB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.902e-05/0.5964, allocations: 0 / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.084e-05/0.5965, allocations: 3.938 kB / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.985e-05/0.5966, allocations: 7.938 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.5968, allocations: 15.98 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.031e-05/0.5969, allocations: 51.78 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.597, allocations: 12 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.974e-05/0.5971, allocations: 27.91 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.766e-05/0.5972, allocations: 19.92 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.5972, allocations: 4 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.408e-05/0.5972, allocations: 4 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.327e-05/0.5973, allocations: 11.98 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4e-05/0.5973, allocations: 23.86 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.5974, allocations: 39.86 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.5974, allocations: 0 / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5974, allocations: 0 / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.5974, allocations: 0 / 1.019 GB, free: 0.793 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.0007254/0.5982, allocations: 389.5 kB / 1.02 GB, free: 372 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.5982, allocations: 12.03 kB / 1.02 GB, free: 360 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.879e-05/0.5983, allocations: 30.75 kB / 1.02 GB, free: 320 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.5983, allocations: 4.938 kB / 1.02 GB, free: 316 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.5985, allocations: 176.3 kB / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.5985, allocations: 8.375 kB / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.5985, allocations: 384 / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.5987, allocations: 66.17 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.5988, allocations: 7.922 kB / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.5988, allocations: 0 / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.5988, allocations: 3.938 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002224/0.599, allocations: 43.95 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006394/0.5997, allocations: 296.7 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002746/0.6, allocations: 58.48 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.6001, allocations: 28.98 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.6001, allocations: 0 / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.6001, allocations: 38.5 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.6001, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0004152/0.6006, allocations: 97.58 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.6006, allocations: 51.41 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.068e-05/0.6007, allocations: 109.8 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.6007, allocations: 29.7 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.119e-05/0.6008, allocations: 96.06 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.6008, allocations: 11.88 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.554e-05/0.6009, allocations: 17.72 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.601, allocations: 318.8 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.583e-05/0.6011, allocations: 23.98 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.983e-05/0.6012, allocations: 19.98 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.6014, allocations: 44.81 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.6014, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002271/0.6016, allocations: 81.59 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.6016, allocations: 8 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.6016, allocations: 0 / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.6017, allocations: 0 / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.003e-05/0.6017, allocations: 11.98 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.6017, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.6019, allocations: 11.98 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.6019, allocations: 0 / 1.021 GB, free: 14.5 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 0.0001009/0.602, allocations: 125.8 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.216e-05/0.602, allocations: 7.906 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002574/0.6023, allocations: 81.48 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.6023, allocations: 4.375 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.6023, allocations: 384 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.6023, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.6025, allocations: 169.6 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.6025, allocations: 0 / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.181e-05/0.6026, allocations: 23.91 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.6026, allocations: 0 / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.6026, allocations: 0 / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.6026, allocations: 0 / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.227e-06/0.6026, allocations: 0 / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.6029, allocations: 175.3 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.45e-05/0.603, allocations: 85 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.603, allocations: 12 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.6031, allocations: 11.98 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.478e-05/0.6032, allocations: 7.984 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.6032, allocations: 0 / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.47e-05/0.6033, allocations: 91.27 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6033, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000229/0.6035, allocations: 8 kB / 1.022 GB, free: 13.61 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.0005787/0.6041, allocations: 0.7046 MB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002432/0.6043, allocations: 51.89 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.6043, allocations: 4 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.69e-05/0.6044, allocations: 23.97 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.6048, allocations: 8 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.6063, allocations: 1.327 MB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.6066, allocations: 0.6807 MB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.619e-05/0.6067, allocations: 4 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.495e-05/0.6067, allocations: 15.44 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of SimCode: time 2.91e-07/0.6067, allocations: 0 / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01996/0.6267, allocations: 1.78 MB / 1.026 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.62/8.247, allocations: 3.938 kB / 1.026 GB, free: 8.973 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